Supervisor / supervisor

Supervisor process control system for Unix (supervisord)
http://supervisord.org
Other
8.46k stars 1.24k forks source link

Supervisord behavior when receiving a SIGTERM signal #1649

Open RazorBach opened 3 months ago

RazorBach commented 3 months ago

In my supervisord config, i have several processes which includes one process A that cannot exit on SIGTERM.

After supervisord received the SIGTERM signal received SIGTERM indicating exit request I can see some of them are killed while some processes including process A are still running.

I think it's due to the one special process A b/c after i killed -9 this process A, all remaining processes are killed immediately.

Does this mean the supervisord processes the SIGTERM signal and sends it to each processes sequentially?

Should it try to send this SIGTERM parallel to each process?