This seems more likely to be an issue with IIS and ColdFusion rather than HAProxy.
If you test a heavy page on your site with ab (apache bench) does it slow down over time? Does testing through HAProxy or directly impact that? Your statements about connections are somewhat confusing, are you seeing connections stuck open at the level of IIS and HAProxy? -JohnF > -----Original Message----- > From: Bill Tindal [mailto:[email protected]] > Sent: November 9, 2010 7:40 AM > To: [email protected] > Subject: HaProxy config and maxconn with IIS webserver > > Hi, > > I'm wondering what the optimal maxconn should be set too for > our HaProxy setup. > We are having issues with pages slowing down quite > significantly over time. > Restarting IIS fixes the issue however it just creeps back as > if the connections > are being kept open by IIS however the current connections in > IIS are in line > with the stats from HaProxy. We are running HaProxy in front > of 2 IIS servers > with ColdFusion as the application server. Below is our configuration: > > global > log 127.0.0.1 local0 > log 127.0.0.1 local1 notice > #log loghost local0 info > maxconn 4096 > #debug > #quiet > user haproxy > group haproxy > > defaults > log global > mode http > option httplog > option dontlognull > retries 3 > redispatch > maxconn 2000 > contimeout 5000 > clitimeout 50000 > srvtimeout 50000 > stats uri /monitor > listen webfarm > bind :80,:443 > mode tcp > balance source > #cookie SERVERID insert indirect > #option httpclose > #option forwardfor > #option httpchk HEAD /check.txt HTTP/1.0 > server webA 10.0.0.1 > server webB 10.0.0.2 > > >

