Problem:
As the error description implies, this happens when you set the, numprocs to a value greater than 1.
e.g. numprocs=4
Solution:
Supervisor will start as many instances of this program as named by numprocs so you need to include %(process_num) in the value you for program_name so that process will have unique names.
e.g. process_name = %(program_name)s_%(process_num)02d
Now you can restart supervisor
This was useful as I couldn't find a clear answer in the Supervisor docs. Thank you.
ReplyDeletePretty helpful. Thank you so much for posting :)
ReplyDeleteThank you very much. very useful answer.
ReplyDeleteThanks very much.
ReplyDeleteClear and it works!
thanks for this useful info!
ReplyDeleteThank you, that was a quick fix.
ReplyDeleteStill relevant. A little obscure. Thanks..
ReplyDeleteThis is helpful, but can you explain me the parameters in
ReplyDeleteprocess_name = %(program_name)s_%(process_num)02d