Site running slow

2010-02-05 Thread Peter Griffin
Hi, Setup haproxy 1.3.22 with stunnel 4.22 + OpenSSL 0.9.7m and runs well with a few internal users. I run this setup on a P4 with 1Gb of Ram and with a few users am left with about 750Mb of free Ram. After deployment of the site and heavy traffic I noticed free mem going down to 45Mb,

pausing traffic?

2010-02-05 Thread Greg Gard
hi, i would like to be able to pause traffic for a minute or so whilst i reload rails servers to use a different database. i have three different webservers and can probably write a script to nolb one server, reboot with new backend then turn that on while at the same time turn the remaing

Re: pausing traffic?

2010-02-05 Thread David Birdsong
On Fri, Feb 5, 2010 at 7:50 PM, Greg Gard gg...@carepaths.com wrote: hi, i would like to be able to pause traffic for a minute or so whilst i reload rails servers to use a different database. i have three different webservers and can probably write a script to nolb one server, reboot with

Re: pausing traffic?

2010-02-05 Thread Greg Gard
hi, thanks for the idea and i too use a static healthcheck file, though i have been burned a few times when mongrel dished up the file, but rails was in fact hung so am going to go back to rails method as soon as i can get queued healthchecks. not sure which version that is. anyway, it has been

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