Discussion:
[Supervisor-users] Supervisor groups & process priorities *not* honored
David Francheski (dfranche)
2014-07-19 00:36:57 UTC
Permalink
I’m using Supervisor 3.0 and attempting to create the following process group
(from my supervisord.conf file ):

… etc …

[group:myGroup]
programs=processB,processA

[program:processB]
command = processB
priority=210

[program:processA]
command = processA
priority=211


When I start this process group using supervisorctl, it does NOT honor the process priorities as shown above
(i.e., processB should be started before processA).

supervisorctl restart myGroup:*
processB: stopped
processA: stopped
processA: started
processB: started


It appears as though the processes are started based on their alphabetical ordering, not based on priority.
If I don’t use process groups, then supervisor does correctly start the processes based on their priorities.

Is this a defect, or intentional by design ?

Thanks
-David

Loading...