Re: Upgrading Executable on the Fly

2024-07-18 Thread Sébastien Rebecchi
Hello I understand that sending signals is async so there is no guarantee that QUIT is not processed before USR2 so nginx receiving QUIT will ignore USR2 if received after QUIT. I think of a faster solution still being safe kill -USR2 $nginxPid *ADDED: wait until nginx pid file has a content diff

Upgrading Executable on the Fly

2024-07-16 Thread Sébastien Rebecchi
Hello Reading this doc seems unclear to me https://nginx.org/en/docs/control.html#upgrade According to it, we should do kill -USR2 $nginxPid kill -WINCH $nginxPid kill -QUIT $nginxPid with $nginxPid the pid of the old nginx. But doing that seems not good cause we have a strange behaviour that

Re: Upgrading Executable on the Fly - wrong docs?

2013-02-19 Thread Ruslan Ermilov
On Tue, Feb 12, 2013 at 03:01:39PM -0500, piotr.dobrogost wrote: > Ruslan, thanks for quick reply. > > I have some trouble comparing the new wording with the previous one as it > looks like your change went live at http://nginx.org/en/docs/control.html so > I do not have the old one to compare any