Welcome! Log In Create A New Profile

Advanced

Upgrading Nginx executable on the fly

January 07, 2018 02:44PM
Hi,

We have been trying to upgrade the Nginx binary on the fly by invoking USR2 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 (1) or the old master process?

We have been seeing different case of this. In some cases we have seen the new master process' PPID is 1, whereas in other cases its PPID is that of the old master process.

Could someone please explain this scenario in detail.
Subject Author Posted

Upgrading Nginx executable on the fly

shivramg94 January 07, 2018 02:44PM

Re: Upgrading Nginx executable on the fly

tokers January 07, 2018 09:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 226
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready