stop timers and close connections on Nginx reload

Wandenberg Peixoto wandenberg at gmail.com
Sat Aug 17 17:26:14 UTC 2013


Hi,

is there a way to, inside a module, be notified when the Nginx process
received a signal to reload?
I need to stop some timers and do cleanup routines when a worker is on
"worker process is shutting down" state to allow it to completely stop as
fast as possible.

I don't want to start a periodic timer to check this, if there is another
way.


Regards,
Wandenberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20130817/b61acb94/attachment.html>


More information about the nginx-devel mailing list