Re: A (Hopefully Not too Generic) Question About HAProxy

From: Willy Tarreau <w#1wt.eu>
Date: Tue, 18 May 2010 07:24:01 +0200


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.

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 :-)

Cheers,
Willy Received on 2010/05/18 07:24

This archive was generated by hypermail 2.2.0 : 2010/05/18 07:30 CEST