PHP, Apache, Mongrel cluster

Igor Sysoev is at rambler-co.ru
Sat Jan 26 23:59:15 MSK 2008


On Sat, Jan 26, 2008 at 09:49:36PM +0100, Stefanita rares Dumitrescu wrote:

> Igor Sysoev wrote:
> > On Sat, Jan 26, 2008 at 08:30:03PM +0100, Stefanita rares Dumitrescu 
> > wrote:
> > 
> >> Igor Sysoev wrote:
> >> > On Sat, Jan 26, 2008 at 05:00:21PM +0100, Thomas wrote:
> >> > 
> >> >> By the way, why not launching and monitoring nginx using daemontools
> >> >> instead of init.d?
> >> > 
> >> > In this case you will be unable to do online upgrades.
> >> 
> >> what do you mean?
> > 
> > After online upgrade daemontools can not monitor a new master process,
> > because daemontools is not its parent: its parent is the init, process
> > number 1.
> 
> but that's just gonna get solved by killall -9 process, and daemontools 
> will simply run it, and issue solved.

Yes, but this is not gracefull online upgrade without interruption
of the client processing. This is usual hard stop/start upgrade.

Actually, I never use daemontools/etc because nginx's master process
has almost the same chances to fail as daemontools itself.


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





More information about the nginx mailing list