stop timers and close connections on Nginx reload

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


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list