Sounds reasonable. Following your advice, I have made Ansible to send USR2 to the working process. Thanks.
2017-11-10 15:54 GMT+03:00 Mikko Ohtamaa <[email protected]>: > Hi Yuriy, > > What I do is that I let supervisord to do the real hard restart. > > When I need zero downtime restart, I'll send the signal by hand. In my > case I use uWSGI "chained reload" through a touch file. > > Sometimes one still needs to do a hard restart in the case of reliability > issues and it is handy to have this functionality available. > > -Mikko > > On 10 November 2017 at 14:34, Yuriy Zhilovets <[email protected]> > wrote: > >> Hi everybody! >> >> Some servers (e.g. Nginx, Perl Hypnotoad) has so called zero downtime >> upgrade. Some signal, e.g. USR2, causes a server to reload himself >> gracefully, not losing existing connections. >> >> How to teach a Supervisord to do "supervisorctl restart xxx" in this way? >> >> Yuriy Zhilovets >> >>
_______________________________________________ Supervisor-users mailing list [email protected] https://lists.supervisord.org/mailman/listinfo/supervisor-users
