nginx reload causing dropped requests

Igor Sysoev igor at sysoev.ru
Fri Jan 21 11:02:21 MSK 2011


On Thu, Jan 20, 2011 at 05:45:21PM -0800, Mike Bell wrote:

> Hi,
> 
> I'm seeing dropped requests on nginx reload.  I'm using 0.8.53 compiled from
> source.
> 
> My configuration is nginx as a proxy in front of (currently) 2 apache
> servers.
> 
> It looks like if a client reuses a connection it had before the reload
> (HTTP/1.1 style), then the server doesn't handle the request - from tcpdump,
> I see the TCP connection is just reset with no response.
> 
> Is this a known issue?  Is there some configuration option to stop the old
> worker processes from dieing until the connections have all timed out?

While reload (HUP signal) nginx closes only idle keepalive connections.


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



More information about the nginx mailing list