You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On restarting the Tango processes using supervisorctl, I noticed that the Tango server and manager do not exit. supervisorctl however starts new server and manager processes which don't function correctly since the old ones are running.
Actual Behavior
supervisorctl should first kill the Tango server and manager processes before starting new processes.
Steps to Reproduce the Behavior
Run supervisorctl restart all.
Possible reason and fix
In the supervisord configuration, Tango is invoked by /bin/sh and since the terminate signal doesn't propagate to child processes by default, the server and manager continue to run while only the original /bin/sh is killed.
There are two possible fixes I can think of:
Invoke the server and manager directly rather than via /bin/sh. I tested this and it seems to work fine.
Expected Behavior
On restarting the Tango processes using
supervisorctl
, I noticed that the Tango server and manager do not exit.supervisorctl
however starts new server and manager processes which don't function correctly since the old ones are running.Actual Behavior
supervisorctl
should first kill the Tango server and manager processes before starting new processes.Steps to Reproduce the Behavior
Run
supervisorctl restart all
.Possible reason and fix
In the
supervisord
configuration, Tango is invoked by/bin/sh
and since the terminate signal doesn't propagate to child processes by default, the server and manager continue to run while only the original/bin/sh
is killed.There are two possible fixes I can think of:
/bin/sh
. I tested this and it seems to work fine.stopasgroup
orkillasgroup
directives of supervisor to propagate the kill command to all children. I haven't tested these.The text was updated successfully, but these errors were encountered: