Hi Willy,
What's strange is traffic still appears normal, and is, for probably at
least 99% of the visitors. Logged traffic remains about normal (hundreds of
thousands of visitors a day). I just get a few e-mails asking why the site
has been down for days or when it will be back. But I cannot recreate the
problem. And I know there are probably people who just don't e-mail and,
unfortunately, don't come back.
Here is the config file with the IP addresses changed, pretty much the
default that comes with it...
# this config needs haproxy-1.1.28 or haproxy-1.2.1
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
#log loghost local0 info
maxconn 4096
chroot /var/lib/haproxy
user haproxy
group haproxy
daemon
#debug
#quiet
defaults
log global
mode http
option httplog
option dontlognull
retries 3
option redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen HTTP 12.34.56.78:80
mode http
balance roundrobin
server httpA 98.76.54.32:80 check inter 35000 rise 3 fall 3
server httpB 23.45.67.89:80 check inter 35000 rise 3 fall 3
source 10.176.192.82
listen stats :2680
mode http
stats uri /
--
Joe Torsitano
-----Original Message-----
From: Willy Tarreau [mailto:[email protected]]
Sent: Thursday, December 17, 2009 9:46 PM
To: Joe Torsitano
Cc: [email protected]
Subject: Re: Doesn't work for a very few visitors
Hi,
On Thu, Dec 17, 2009 at 02:07:41PM -0800, Joe Torsitano wrote:
> Whenever I turn on HAProxy everything appears to be working great.
However
> I always get two or three e-mails from people who ask when the site is
going
> to be back up. They say the site can no longer be found in their browser,
> even people who have it bookmarked. They say it's like the server is
down.
> As soon as I switch off HAProxy and have the requests delivered directly
> they say everything is fine again. Unfortunately I've never been able to
> recreate it on almost a dozen computers I try. I'm attempting to use
> HAProxy in HTTP mode with Apache servers. Using the Apache load balancer
> works. Any ideas?
not at all, sounds very strange. Are you sure you don't have
too short client-side timeouts, which would be compatible with
your local computers but not with remote clients (eg: 10 ms) ?
Otherwise, please post your config (you can mask your IPs if
you want).
Willy
__________ Information from ESET Smart Security, version of virus signature
database 4700 (20091218) __________
The message was checked by ESET Smart Security.
http://www.eset.com