How to upgrade nginx binary on fly

Ruslan Ermilov ru at nginx.com
Mon Jul 9 10:18:10 UTC 2012


On Mon, Jul 09, 2012 at 02:45:45PM +0530, vivek goel wrote:
>    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

Just in case:
http://nginx.org/en/docs/control.html#upgrade

>    On Mon, Jul 9, 2012 at 2:40 PM, vivek goel <[1]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



More information about the nginx-devel mailing list