On 5/17/10 10:24 PM, Willy Tarreau wrote:
On Mon, May 17, 2010 at 07:42:03PM -0700, Hank A. Paulson wrote:
I have some sites running a similar set up - Xen domU, keepalived,
fedora not RHEL and they get 50+ million hits per day with pretty
fast response. you might want to use the  "log separate errors" (sp?)
option and review those 50X errors carefully, you might see a pattern
- do you have http-close* in all you configs? That got me weird, slow
results when I missed it once.

Indeed, that *could* be a possibility if combined with a server maxconn
because connections would be kept for a long time on the server (waiting
for either the client or the server to close) and during that time nobody
else could connect. The typical problem with keep-alive to the servers in
fact. The 503 could be caused by requests waiting too long in the queue
then.

My example was just to assure Chin Yin that haproxy on xen should be able to handle his current load depending, of course, on the glassfish servers.

I meant some kind of httpclose option (httpclose/forceclose/http-server-close/etc) turned on regardless of keep-alive status - you know, like you are always reminding people :)

I noticed when I forgot it on a section (that was not keepalive related) it caused wacky results - hanging browsers, images/icons/css not showing up, etc. Obviously it should not affect single requests like you would assume Akamai would be sending, it was a pure guess.


Chin Yin, Xani was right, please take a look at your logs. Also, sending
us your config would help a lot. Replace IP addresses and passwords with
"XXX" if you want, we'll comment on the rest. BTW you should tell your
admin that 1.3.21 has an annoying bug which makes it crash when connecting
to the stats socket. Thus, this reduces your possibilities of debugging it.
When you have some time, you should upgrade it to 1.3.22 or later (1.3.24)
which fix a small number of remaining bugs.

example stats page screenshot attached.

Nice stats Hank :-)

That is just the page frames (mostly) not including images, css, js, static icons or any other "stuff" but neither is it just for one day, it is longer.


Cheers,
Willy


Reply via email to