Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm using Haproxy to balance HTTP requests to Squid servers for web access. Http requests seem to work fine but when I connect to Yahoo messenger, I am randomly kicked out and logged in again.
If I connect directly through Squid, I do not encounter these disconnects, so I am assuming it has something to do with my Haproxy config. Maybe it timeouts the connection.. I can't figure it out.

Here is my config:

    log     global
    mode    http
    option  httplog
    option  dontlognull
    option redispatch
    option abortonclose
    retries 3
    maxconn 9000
    contimeout      5000
    clitimeout      50000
    srvtimeout      50000

frontend front
    mode http
    option forwardfor
    default_backend back

backend roundrobin
    mode http
    option httpclose
    balance roundrobin
    server  proxy check inter 2000 fall 3
    server  proxy_bkp check inter 2000 fall 3 backup

I also tried using server proxy cookie 2 check.
Any suggestions (adding / removing options from the config)?

Scope: being used by several hundred people for http browsing, voip and IM.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I disabled clitimeout and srvtimeout and it now works.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.