<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Hello,<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Kind of basic question about nginx behavior here.<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">On the docs page <a href="http://nginx.org/en/docs/control.html">http://nginx.org/en/docs/control.html</a>, it is said :<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">HUP -> changing configuration,
keeping up with a changed time zone (only for FreeBSD and Linux),
starting new worker processes with a new configuration,
graceful shutdown of old worker processes</blockquote><div> <br></div><div><div>This is exact since the HUP signal is used to reload configuration and spawn new workers with it.<br><br></div>However, a little bit further on the same page, in the on-the-fly upgrade section, you got:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Send the HUP signal to the old master process.
The old master process will start new worker processes
without re-reading the configuration.
After that, all new processes can be shut down gracefully,
by sending the QUIT signal to the new master process.</blockquote><div><br></div>Is this behavior due to the USR2 signal previously sent, the old master knowing it is the old one (and thus knowing it should avoid loading an improper configuration suitable for another version)?<br></div></div><div><div class="gmail_signature" data-smartmail="gmail_signature"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
</div>