Re: Fwd: Site running slow

2010-02-07 Thread Peter Griffin
Hi there, Ok I disabled selinux and increased check inter to 30s. I enabled an http check of an asphx file because ASP is critical to the operation of the site. It was already there but I disabled it earlier because of the problems we were having: option httpchk HEAD /testip.ashx

Re: Fwd: Site running slow

2010-02-06 Thread Willy Tarreau
Hi Peter, it's needless to resend your mail 3 times. Most people on this list aren't always available, but are generally helpful. Sometimes you just have to be a bit patient. I see no timeout in your stunnel configuration : My stunnel.conf: #setuid=stunnel #setgid=proxy debug = 3 output

Re: Fwd: Site running slow

2010-02-06 Thread Willy Tarreau
On Sat, Feb 06, 2010 at 09:51:45AM +0100, Peter Griffin wrote: Hi Will, I didn't see my post in the archives and since this is a production site I panicked. Thank you so much for your explanation, it's much clearer now. I will make the changes and report back how it went. Do you think

Re: Fwd: Site running slow

2010-02-06 Thread Willy Tarreau
On Sat, Feb 06, 2010 at 12:27:10PM +0100, Peter Griffin wrote: The minute I put the changes and made the loadbalancer active, external users experienced serious downtime. I tried accessing our site from an external source and sure enough we were unbrowsable. So I had to take haproxy off

Re: Fwd: Site running slow

2010-02-06 Thread Peter Griffin
Both http https. Also both web servers started to take it in turns to report as DOWN but more frequently the second one than the first. I ran ethtool eth0 and can verify that it's full-duplex 1Gbps: Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half

Fwd: Fwd: Site running slow

2010-02-06 Thread Peter Griffin
I forgot to mention that yes this is a dedicated machine. On 6 February 2010 12:47, Willy Tarreau w...@1wt.eu wrote: On Sat, Feb 06, 2010 at 12:27:10PM +0100, Peter Griffin wrote: The minute I put the changes and made the loadbalancer active, external users experienced serious downtime. I

Re: Fwd: Site running slow

2010-02-06 Thread Willy Tarreau
On Sat, Feb 06, 2010 at 01:16:00PM +0100, Peter Griffin wrote: Both http https. Also both web servers started to take it in turns to report as DOWN but more frequently the second one than the first. I ran ethtool eth0 and can verify that it's full-duplex 1Gbps: OK. I'm attaching dmesg, I

Re: Fwd: Site running slow

2010-02-06 Thread Hank A. Paulson
You have selinux on, so it may be unhappy with some part of haproxy - the directory it uses, the socket listeners, etc. Turn it off (if you can) until you get everything working ok. Turning it off requires a reboot. To see if it is on: # sestatus google for how to turn it off I would back off

Fwd: Site running slow

2010-02-05 Thread Peter Griffin
Hi, I realise this must have been a stupid question for you I'm quite green to Linux and haproxy so I do not have debugging skills. I would appreciate if someone could explain at least if my hardware (all on one machine) could be the problem or whether this is just some tcp/ip tuning that needs