Welcome! Log In Create A New Profile

Advanced

Re: How to upgrade nginx binary on fly

July 09, 2012 05:16AM
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@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
>
>
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

How to upgrade nginx binary on fly

goelviek2011@gmail.com 1795 July 09, 2012 05:12AM

Re: How to upgrade nginx binary on fly

goelviek2011@gmail.com 914 July 09, 2012 05:16AM

Re: How to upgrade nginx binary on fly

Ruslan Ermilov 716 July 09, 2012 06:20AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 211
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