Great. I guess I wasn't clear on what those actually did. I will try increasing those numbers and see if things get better.
gracias! Geoff On Wed, Mar 31, 2010 at 6:03 PM, Cyril Bonté <cyril.bo...@free.fr> wrote: > Hi, > > Le Mercredi 31 Mars 2010 23:33:05, Geoffrey Mina a écrit : > > Willy, > > I know you said that HAProxy would work just fine with persistent TCP > > connections, unfortunately I am not seeing that behavior. We are > > establishing a socket connection and sending application level "heart > beat" > > messages every 60 seconds. > > Isn't it every 30 seconds, with a "BEAT" message coming from the backend ? > > > I am seeing that HAProxy is shutting down my > > connection after a period of time. Attached is a pcap file of the > > shutdown... from the HAProxy server. I have also included my > configuration > > below. > > If it's 30 seconds, then "srvtimeout 30000" is not a good value, as > HAProxy can close the connection nearly at the same time the packet is > received. > Can you try with a value a little bigger than the heart beat interval ? > And if it's 60 seconds, this timeout is definitly too low. > > -- > Cyril Bonté >