Re: Problems with HAProxy, down servers and 503 errors

2009-01-26 Thread Willy Tarreau
On Mon, Jan 26, 2009 at 05:01:18AM -0500, John Marrett wrote: > The health checks naturally include the Host header, and work properly. OK. > We just wanted to avoid returning 503 to the client for the 4-14 seconds > it takes for the backend server to be reported down (inter 5 fall 2). You could

RE: Problems with HAProxy, down servers and 503 errors

2009-01-26 Thread John Marrett
Willy, > You're perfectly right, redispatch only happens when the > request is still > in haproxy. Once it has been sent, it is cannot be performed. > It must not > be performed either for non idempotent requests, because > there is no way > to know whether some processing has begun on the serv

Re: Problems with HAProxy, down servers and 503 errors

2009-01-25 Thread Willy Tarreau
On Sun, Jan 25, 2009 at 07:06:23PM -0500, John Marrett wrote: > Willy, > > > No problem, no time wasted yet ! > > Well, none of your time :) It took me far longer than it should have to > realise my error. Regretable, packet captures are usually my first > diagnostic tool. A mistake I won't make

RE: Problems with HAProxy, down servers and 503 errors

2009-01-25 Thread John Marrett
might afford us a solution. -JohnF > -Original Message- > From: John Marrett [mailto:jmarr...@mediagrif.com] > Sent: January 25, 2009 7:06 PM > To: Willy Tarreau > Cc: haproxy@formilux.org > Subject: RE: Problems with HAProxy, down servers and 503 errors > > Willy

RE: Problems with HAProxy, down servers and 503 errors

2009-01-25 Thread John Marrett
Willy, > No problem, no time wasted yet ! Well, none of your time :) It took me far longer than it should have to realise my error. Regretable, packet captures are usually my first diagnostic tool. A mistake I won't make again any time soon. > Have you at least found a solution to your issue ?

Re: Problems with HAProxy, down servers and 503 errors

2009-01-25 Thread Willy Tarreau
Hi John, On Sun, Jan 25, 2009 at 11:23:24AM -0500, John Marrett wrote: > I'm embarassed to report that this is not an HAProxy issue. Don't feel embarassed. I'm glad that you found the issue. And it's kind to send us an update. > In addition to the changes being made on the load balancing level,

RE: Problems with HAProxy, down servers and 503 errors

2009-01-25 Thread John Marrett
..@mediagrif.com] > Sent: January 23, 2009 5:38 PM > To: haproxy@formilux.org > Subject: Problems with HAProxy, down servers and 503 errors > > We have been using HAProxy in a production environment, without issue > for a long period. Thanks for a wonderful product! > > Un

Problems with HAProxy, down servers and 503 errors

2009-01-23 Thread John Marrett
We have been using HAProxy in a production environment, without issue for a long period. Thanks for a wonderful product! Unfortunately we recently encountered some issues as we have worked on the migration of one of our sites onto a new HAProxy based load balancing solution. We've started to notic