You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@spacewander It only works for the current nginx process, as stated in the nginx documentation. A worker can not usually send a signal to master, for example, since a worker usually does not have enough permissions to do so. This feature is mostly for an nginx worker to voluntarily gracefully shut down itself.
@spacewander If you want to send signals to nginx master from within the same nginx daemon, then you should use the new "privileged agent" process feature instead in OpenResty:
It seems that
signal_graceful_exit
only set thengx_quit
instead of triggering a real graceful exit...Refer from the Nginx source:
I guess that if a graceful exit is in need, it is required to send a signal to resume master process after
sigsuspend
.Maybe I am missing something.
The text was updated successfully, but these errors were encountered: