I feel like a really stupid noob.... But I've searched and searched and do
not understand this. When visitors try to download a file that takes more
than roughly 40 seconds to download the download stalls.

I thought the timeout settings in the config where for acknowledges between
server and client but if the timeout settings are max timeouts for a http
request being fully "served" the problem is at least close to the default
30 seconds timeouts. Still odd... *scratching heasd*

BUT

I've changed the timeouts to larger values. The file downloads still stalls
at roughly 40 seconds. Even after restarting haproxy.


Any help is deeply appreciated!


/Magnus T




I'm running Haproxy as a package install in pfsense 2.1 and
HAProxy1.5-dev19




CONFIG:

global
stats socket /tmp/haproxy.socket level admin
gid 80
nbproc 1
chroot /var/empty
daemon

frontend Rule1-merged
bind 83.250.27.152:80
default_backend SRV-WEB1_http
option http-server-close
mode http
log global
option dontlognull
timeout client 60000
acl 0_rejsa.nu hdr_end(host) -i rejsa.nu
use_backend SRV-WEB1_http if 0_rejsa.nu
acl 1_rejsa.se hdr_end(host) -i rejsa.se
use_backend SRV-WEB1_http if 1_rejsa.se
acl 2_tystpc.nu hdr_end(host) -i tystpc.nu
use_backend SRV-WEB2_http if 2_tystpc.nu
acl 3_tystpc.se hdr_end(host) -i tystpc.se
use_backend SRV-WEB2_http if 3_tystpc.se

backend SRV-WEB1_http
mode http
balance roundrobin
timeout connect 60000
timeout server 60000
retries 3
source 0.0.0.0 usesrc clientip
option httpchk
server SRV-WEB1 192.168.2.2:80    weight 100

backend SRV-WEB2_http
mode http
balance roundrobin
timeout connect 60000
timeout server 60000
retries 3
source 0.0.0.0 usesrc clientip
option httpchk
server SRV-WEB2 192.168.2.3:80    weight 100

Reply via email to