Question about UPSTREAM configuration...

Maxim Dounin mdounin at
Wed May 1 17:42:30 UTC 2013


On Wed, May 01, 2013 at 01:30:14PM -0400, lflacayo wrote:

> Hello All, 
> Hope some one out there can help me a clear up my understanding. 
> If I have 5 server on an upstream configuration list, to help load balance
> the load across the 5 servers.   Once in a while I am seen  "(110:
> Connection timed out) while connecting to upstream".  Now what I am not
> clear on  is that message as a result of trying all the servers on the
> upstream list or after failing on a single entry on the upstream list?

It's about single server (and it should print server's address in 
the following text).

> if
> it is a single server then it should transfer the request to the next server
> on the list, right? 

This depends on proxy_next_upstream directive, but usually the 
answer is yes.

Maxim Dounin

More information about the nginx mailing list