nginx-0.7.53

Igor Sysoev is at rambler-co.ru
Tue Apr 28 19:18:55 MSD 2009


On Tue, Apr 28, 2009 at 08:16:01AM -0700, Michael Shadle wrote:

> On Tue, Apr 28, 2009 at 1:23 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> 
> > If you want to minimize downtime - you should follow binary
> > upgrade procedure as described here:
> >
> > http://wiki.nginx.org/NginxCommandLine
> >
> > This gives you zero downtime (i.e. no single client request
> > missed).
> 
> interesting.
> 
> so find the master pid
> 
> kill -USR2 $pid
> kill -WINCH $pid
> 
> Is all that is needed?

kill -WINCH $pid

decide keep the new binary or not, then

kill -QUIT $pid.oldbin

to keep, or

kill -TERM $pid

to rollback.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list