[Linux-cluster] haproxy terminate connection
Sam Wun
swun2010 at gmail.com
Sun May 24 06:42:41 UTC 2009
Hi,
I am running haproxy -1.3.15.5, with the following *simple* configuration:
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
#log loghost local0 info
maxconn 4096
#chroot /usr/share/haproxy
#uid 99
#gid 99
daemon
pidfile /var/run/haproxy.pid
#debug
#quiet
defaults
log global
mode http
option httplog
option dontlognull
retries 3
option redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen web_appl 0.0.0.0:80
mode http
cookie SERVERID insert nocache indirect
balance roundrobin
server wp1 192.168.1.246:80 cookie server01 weight 1 check
server wp2 192.168.1.245:80 cookie server02 weight 1 check
server wp3 192.168.1.244:80 cookie server03 weight 1 check
server wp4-backup 192.168.1.243:80 cookie server04 check backup
server wp5-backup 192.168.1.242:80 check backup
option abortonclose # Dropping aborted requests
option nolinger # disables data lingering
192.168.1.248 is the address of the haproxy load balancer.
When I tried lynx 192.168.1.248 within the haproxy server
(192.168.1.248), it works, it directed me to 192.168.1.246, because
all other servers have no httpd running.
When I tried http://192.168.1.248 from my vista windows, it said
"Connection Interrupted".
What is the problem with my setup?
Your suggestion is very much appreciated.
Thanks
More information about the Linux-cluster
mailing list