nginx upstream not balancing properly

Andrew Alexeev andrew at
Wed Oct 10 15:01:25 UTC 2012

On Oct 10, 2012, at 6:50 PM, izghitu wrote:

> Hi,
> I am running latest nginx and using it for load balancing. I am using the
> upstream fair module.
> I have 3 backend servers running apache. The problem is that when I start a
> load test the balancing is not done correctly. The first server in the
> upstream gets most of the traffic and the other 2 get very few traffic. If I
> restart nginx then all 3 backend servers start to get the same ammount of
> traffic
> Am I doing something wrong?
> Please advise

First of all, do you mean our standard least_conn functionality or some 3rd party module?

> Posted at Nginx Forum:,231585,231585#msg-231585
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list