Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using supervisord's [program:x] to keep my background queue runners up and running. The amount of numprocs is set to a static number, but now I am looking for a solution to dynamically adjust the process count depending on the workload of the queues.

Is it possible to (programmatically) change the amount of supervisord's numprocs setting without affecting already running workers?

share|improve this question
up vote 1 down vote accepted

At this time, I think the answer is no. Best to ask this on the supervisor users list to be sure.

You can change the number of workers running by editing the config, then running "supervisorctl update" or the equivalent XMLRPC commands. The problem is that the existing processes for the program will be restarted. The current implementation only checks if the config for a program has changed or not. It does not handle the special case where only numprocs has changed.

share|improve this answer
Thank you. I have posted the question to the list and keep this question updated if any detailed information appears. – Ville Mattila Sep 12 '12 at 22:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.