httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Plüm, Rüdiger, VF EITO <ruediger.pl...@vodafone.com>
Subject Re: Regarding graceful restart
Date Fri, 09 Feb 2007 17:34:16 GMT


> -----Ursprüngliche Nachricht-----
> Von: Henrik Nordstrom 
> Gesendet: Freitag, 9. Februar 2007 16:33
> An: dev@httpd.apache.org
> Betreff: Re: Regarding graceful restart
> 
> 
> tor 2007-02-08 klockan 17:15 -0800 skrev Devi Krishna:
> > Hi, 
> > 
> >  Resending this mail, just in case anyone would have
> > suggestions/inputs as how to fix this for connections that 
> are in the
> > ESTABLISHED state or FIN state or any other TCP state other than
> > LISTEN
> 
> Maybe change the "wake up call" to just connect briefly 
> without actually
> sending a full HTTP request? This should be sufficient to wake up any
> processes sleeping in accept() and will not cause anything to get
> processed..

Not if BSD accept filters are in place. In this case the kernel waits until it
sees a HTTP request until it wakes up the process.
And on Linux with TCP_DEFER_ACCEPT enabled you need to sent a least one byte of data.

Regards

Rüdiger


Mime
View raw message