Re: HAProxy, Apache, Ruby & Server Timeout Errors (sH)

From: Willy Tarreau <w#1wt.eu>
Date: Sun, 1 Aug 2010 16:12:02 +0200


On Sun, Aug 01, 2010 at 09:58:02AM -0400, Phil Dupont wrote:
> Willy,
>
> You rock. Thanks for the help.
>
> Good news is that it shows that apache is genuinely taking more then 50
> seconds to respond (see my example below). What's interesting is that when
> I look at the ruby production log... I see about a convenient 50 second gap.
>
> That said, it's clear that it's a communication issue between Apache and
> Ruby. Definitely not an issue with HAProxy.
>
> I'll dig in and ferret out the issue, but I wanted to close the loop.

Thanks for the feedback, Phil.

What I suggest you do to ease debugging further is to increase haproxy's timeout to insane values (eg: 5 mn). That way you'll get a complete log of the request along the chain and it should help a lot.

Regards,
Willy Received on 2010/08/01 16:12

This archive was generated by hypermail 2.2.0 : 2010/08/01 16:15 CEST