Upgrading Nginx executable on the fly
zchao1995 at gmail.com
Mon Jan 8 02:08:38 UTC 2018
> We have been trying to upgrade the Nginx binary on the fly by invoking
> signal to spawn a new set of master and worker processes with the new
> configuration. The question I have is when this new master process is
> spawned, after issuing USR2 signal to the existing or the old master
> process, what would be it's parent process? Will it be the root process
> or the old master process?
> We have been seeing different case of this. In some cases we have seen
> new master process' PPID is 1, whereas in other cases its PPID is that of
> the old master process.
The new master’s parent is the old master before you quit the old master
after it quits, the new master’s parent process will be the init process.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx