Re: round robin

From: Johan Duflost <mailing#decizium.com>
Date: Tue, 18 Aug 2009 16:34:11 +0200

Hello,

Here is an excerpt of our config file :

        appsession ASP.NET_SessionId len 52 timeout 1h
        cookie ASP.NET_SessionId prefix
        option persist
        balance roundrobin
        option forwardfor
        option httpclose
        server 1 xx.xx.xx.xx:80 cookie 1 check inter 3000 rise 2 fall 3
        server 2 xx.xx.xx.xx:80 cookie 2 check inter 3000 rise 2 fall 3
        server 3 xx.xx.xx.xx:80 cookie 3 check inter 3000 rise 2 fall 3

Did you see anything special that could explain this behavior?

Johan

On 18-8-2009 14:08, Johan Duflost wrote:
> Hello,
>
> We have a farm of asp.net web servers behind haproxy configured with
> round-robin.
> It seems to work but in fact the requests are not evenly distributed.
> All the servers have the same capacity and there's no priority declared
> in the haproxy configuration file.
> Does anybody know why it doesn't seem possible to have a real
> distribution accross the servers?

Well, it's very well possible, but you might have a configuration that tells haproxy to do something else..

Are you sending httpclose responses? Are you using session cookies?

-- 


With kind regards,


Angelo Höngens
systems administrator

MCSE on Windows 2003
MCSE on Windows 2000
MS Small Business Specialist
------------------------------------------
NetMatch
tourism internet software solutions

Ringbaan Oost 2b
5013 CA Tilburg
+31 (0)13 5811088
+31 (0)13 5821239

A.Hongens#netmatch.nl
www.netmatch.nl
------------------------------------------






--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.59/2310 - Release Date: 08/17/09 
18:04:00
Received on 2009/08/18 16:34

This archive was generated by hypermail 2.2.0 : 2009/08/18 16:45 CEST