Drain mode when reducing numprocs #116
Replies: 3 comments 2 replies
-
Hi. Well, at first sight there should be a way. Increasing the numprocs is a bit more complicated in such a case. I'm more worried about the impact on other Supvisors features. I may give it a try someday. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have re-designed the function and added a new XML-RPC Cheers,. |
Beta Was this translation helpful? Give feedback.
-
implemented in Supvisors 0.18 with a |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thanks for the great plugin!
When reducing numprocs it kills running processes to get down to the new numprocs amount.
Is there a way to do a drain mode so when you reduce the numprocs below the number of running processes the existing process will continue to run until they complete and exit on their own, and then new processes won't respawn (until the number of running processes eventually goes below numprocs, and then they'll respawn accordingly to get back up to numprocs)?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions