Re: Error 504

From: Christophe Rahier <christophe#qualifio.com>
Date: Sun, 11 Sep 2011 04:08:47 -0700


Hi Willy,

Many thanks for your help, I'll check our application, I think a lot of things could be improved :-)

Christophe

Le 11/09/11 00:12, « Willy Tarreau » <w#1wt.eu> a écrit :

>Hi Christophe,
>
>On Thu, Sep 08, 2011 at 06:54:29AM -0700, Christophe Rahier wrote:
>> Yes ...
>>
>> Is it possible to improve my config?
>
>Well, your config already allows a server to take as much as 50 seconds
>to respond, and still some requests don't respond within this delay.
>This is really huge and probably nobody will wait that long anyway. It's
>absolutely required to fix the application. You could make use of halog
>to report the slowest URLs :
>
> halog -ua < log-file | less
>
>The format is a bit raw but you'll get the URLs sorted by average
>response time. Quite often when people encounter 504, it only happens
>on a very small set of URLs, sometimes even only one. Most often this
>is due to poorly written SQL queries which take ages to complete, but
>any number of causes is possible of course.
>
>Regards,
>Willy
>
>
>
Received on 2011/09/11 13:08

This archive was generated by hypermail 2.2.0 : 2011/09/11 13:15 CEST