Hello! It's a common case that all the worker processes are still live while the master process isn't exist. So I think nginx should continue to work as Maxim said.
Btw, we noticed that nginx.pid is deleted when we do the upgrade command. kill -USR2 nginx.pid; sleep(2); kill -HUP nginx.oldpid; What reason? Thanks. B.R~ 2016-10-13 11:04 GMT+08:00 Maxim Dounin <mdou...@mdounin.ru>: > Hello! > > On Thu, Oct 13, 2016 at 08:38:56AM +0800, 李林哲 wrote: > > > This patch is solving the problem that the sub process (worker > > process) will not quit when master process quits on SIGKILL. > > which will be done by OS (especially Linux) when system meet > > OOM. > > Why do you think that worker processes should exit when master > process is killed by OOM? I would rather say they shouldn't and > should continue to work as long as they can. > > -- > Maxim Dounin > http://nginx.org/ > > _______________________________________________ > nginx-devel mailing list > nginx-devel@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-devel >
_______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel