How to upgrade nginx binary on fly

vivek goel goelvivek2011 at gmail.com
Mon Jul 9 09:15:45 UTC 2012


ok found I need to fire following command after SIGUSR2
kill -WINCH $(cat nginx.pid.oldbin)
kill -QUIT $(cat nginx.pid.oldbin)

regards
Vivek Goel



On Mon, Jul 9, 2012 at 2:40 PM, vivek goel <goelvivek2011 at gmail.com> wrote:

> I am trying to upgrade nginx binary on fly.
> But when I am giving signal to upgrade  the binary it is giving following
> error:
>
> 2012/07/09 14:34:39 [crit] 22688#0: the changing binary signal is ignored:
> you should shutdown or terminate before either old or new binary's process
>
> My core configuration look like this:
>
> user  vivek;
> worker_processes  2;
> events {
>     worker_connections  1024;
> }
>
>
>
> regards
> Vivek Goel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120709/4d051ed4/attachment.html>


More information about the nginx-devel mailing list