October 10, 2012 11:02AM
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?

http://nginx.org/en/docs/http/ngx_http_upstream_module.html#least_conn


> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,231585,231585#msg-231585
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx upstream not balancing properly

izghitu October 10, 2012 10:50AM

Re: nginx upstream not balancing properly

nginxorg October 10, 2012 11:02AM

Re: nginx upstream not balancing properly

izghitu October 10, 2012 11:24AM

Re: nginx upstream not balancing properly

nginxorg October 10, 2012 11:36AM

Re: nginx upstream not balancing properly

izghitu October 10, 2012 11:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 274
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready