We recently migrated from Perlbal to HAProxy due to Perlbal's memory usage. It's been a fairly flawless migration though lately we've run into an issue that I can't seem to figure out (it doesn't help I'm not familiar with HAproxy's umpteen configuration options).
We're a media website serving a fair amount of traffic - we use HAProxy to spread the load across our media servers. Upon starting HAProxy everything is snappy and works accordingly - though after about 10-20 minutes things start to slow down and media is served very slowly. I'm fairly certain it's HAProxy since a simple restart of the service rectifies the issue.
I'm using a fairly vanilla HAProxy configuration with no bells or whistles:
defaults log global mode http option httplog option dontlognull retries 3 option redispatch maxconn 2000 contimeout 5000 clitimeout 50000 srvtimeout 50000 listen media 0.0.0.0:80 balance roundrobin server media_1 x.x.x.x:8080 weight 1 maxconn 1024 check server media_2 x.x.x.x:8080 weight 1 maxconn 1024 check
Could anyone shed some light onto what the issue may be?