Hi Bill, On Wed, Nov 10, 2010 at 05:17:30AM +1100, Bill Tindal wrote: > Hi John, > > I've tested through HaProxy with Apache JMeter to the web server(s) and the > response time do gradually get slower over time. > > The odd thing is that I can run the same test direct to the web server and > it holds up fine. As soon as HaProxy is involved, I see a gradual > degradation, as if connections are being built up. Then of course the odd > thing is that an IIS restart (which does not affect ColdFusion) solves the > issue. > > I'm wondering if something like: > > timeout client 10000 > option http-server-close > > might do the trick..
I'm pretty sure your server is leaking connections and you'll see thousands of CLOSE_WAIT sockets there. Please retest through haproxy without http-server-close nor httpclose (or even in plain TCP mode). If the server does not slow down when connections are kept open, it clearly indicates a bug there. Such bugs were very common 4-5 years ago, but are far less common now that the frameworks have improved to hide most of the low-level work to the developers. This does not imply that they do everything fine though :-/ Willy

