Hi,
I have some strange problem with Haproxy, during download connection
sometimes gets closed.
When I try to fetch file using wget I get: 2013-03-15 11:10:33 (424 KB/s) -
Connection closed at byte 91975620. Retrying.
My haproxy.cfg:
global
maxconn 120000
user haproxy
group haproxy
daemon
nbproc 20
ulimit-n 241000
#debug
#quiet
noepoll
nokqueue
nopoll
nosepoll
nosplice
spread-checks 3
tune.maxaccept -1
defaults
# option http-server-close
option dontlognull
option redispatch
option contstats
option abortonclose
option http-no-delay
retries 3
timeout connect 5s
timeout http-keep-alive 5s
# Slowloris protection
timeout http-request 15s
timeout queue 5000
timeout tarpit 1m # tarpit hold tim
backlog 20000
frontend http-in
bind *:80
mode http
default_backend layer2_cache
option http-pretend-keepalive
timeout client 25s
backend layer2_cache
mode http
option redispatch
option http-pretend-keepalive
no option httpclose
# option httpchk /status/
option forwardfor except 127.0.0.1
balance uri
hash-type consistent
server web1 10.0.2.1 maxconn 20000 weight 100
server web2 10.0.2.2 maxconn 20000 weight 100
server web3 10.0.2.3 maxconn 20000 weight 100
# server web4 10.0.2.4 maxconn 30000 weight 100
timeout server 15s
timeout queue 5000
timeout check 1s