Is supervisord shutting down gracefully?
Solution 1:
You should check out the following configuration options:
stopsignal
to specify which signal gets sent to your program in order to tell it to stop gracefully
stopwaitsecs
to specify how long supervisord should wait for the process to stop gracefully, before giving up and sending a SIGKILL.
http://supervisord.org/configuration.html#program-x-section-settings