Re: Global least loaded server

2015-06-06 Thread Willy Tarreau
. The problem is that in this setting, leastconn applies within each backend and the selected server is not essentially the GLOBAL least loaded server in total (maybe due to a bug in the system). It's not a bug, it's by design : haproxy doesn't know that what looks like the same server in different

Re: Global least loaded server

2015-06-03 Thread N P
to figure out what changes I need to do to fix this.  Any help is appreciated.   From: Baptiste bed...@gmail.com To: N P nvn...@yahoo.ca Cc: haproxy@formilux.org haproxy@formilux.org Sent: Tuesday, June 2, 2015 12:48 PM Subject: Re: Global least loaded server On Tue, Jun 2, 2015 at 6:36 PM

Re: Global least loaded server

2015-06-02 Thread Baptiste
. The problem is that in this setting, leastconn applies within each backend and the selected server is not essentially the GLOBAL least loaded server in total (maybe due to a bug in the system). Note that, same servers are used in the backends with different weights. From what I understood from

Global least loaded server

2015-06-02 Thread N P
backend and the selected server is not essentially the GLOBAL least loaded server in total (maybe due to a bug in the system). Note that, same servers are used in the backends with different weights.From what I understood from the code, the problem seems to be that each backend tracks the number