A problem with the keepalive module and the direcitve proxy_next_upstream

Maxim Dounin mdounin at mdounin.ru
Wed Jan 23 22:41:28 UTC 2013


On Wed, Jan 23, 2013 at 02:25:10PM +0800, 姚伟斌 wrote:

> I have removed the above code. It seems work for us and there is no side
> effect. And we have put it on our busy production boxes for a week.

Just removing the code is wrong thing to do, as it will no longer 
able to retry if an upstream server closes connection at the same 
time when nginx decides to send a request into it, and there is 
only one upstream server configured in a given upstream block.


Maxim Dounin

More information about the nginx mailing list