Open cbautista1002 opened 9 years ago
mysql ignores ctrl+c SIGINT
http://manpages.ubuntu.com/manpages/bionic/man1/pidproxy.1.html
Some processes (like mysqld) ignore signals sent to the actual process which is spawned by supervisord. Instead, a "special" thread/process is created by these kinds of programs which is responsible for handling signals. This is problematic because supervisord can only kill a process which it creates itself. If a process created by supervisord creates its own child processes, supervisord cannot kill them.
When I tell supervisor to stop the mysql service, it claims that it did, but it does not:
It then fails to start it (since it was never stopped):
The mysqld log files shows that it cannot start if its already running:
If I kill mysqld then supervisor is able to start it: