Maximum number of backends to try

Maxim Dounin mdounin at mdounin.ru
Mon Mar 29 21:01:05 MSD 2010


Hello!

On Mon, Mar 29, 2010 at 02:39:38PM +0100, Avleen Vig wrote:

> I thought I saw a setting, which told nginx how many backend servers
> to try before giving up.
> 
> I have an upstream with 10+ servers, and I only want to try queries on
> two or three servers before giving up.
> 
> Anyone remember how to do this? Or am I going mad?

There is unofficial patch for this, something like 
upstream_count_limit in google will help.

Maxim Dounin



More information about the nginx mailing list