Re: [PATCH] [RFC] Decrease server health based on http responses / events, version 2

2009-12-15 Thread Willy Tarreau
On Tue, Dec 15, 2009 at 11:29:33PM +0100, Krzysztof Ol?dzki wrote: > >>+error_limit > > > >"error-limit" please :-) > > Sure. Would you like a new patch with that change? No, don't waste your time on cosmetics. I've noticed you sent v3 while I was replying, I'll sed on v3. (...) > >Maybe I'm no

Re: [PATCH] [RFC] Decrease server health based on http responses / events, version 2

2009-12-15 Thread Krzysztof Olędzki
On 2009-12-15 23:07, Willy Tarreau wrote: Hi Krzysztof, Hi Willy, I forgot to check the list and did not see your mail. On Fri, Dec 11, 2009 at 10:33:56AM +0100, Krzysztof Piotr Oledzki wrote: Changes in this version: - documentation - close race between a started check and health analysis

Re: [PATCH] [RFC] Decrease server health based on http responses / events, version 2

2009-12-15 Thread Willy Tarreau
Hi Krzysztof, I forgot to check the list and did not see your mail. On Fri, Dec 11, 2009 at 10:33:56AM +0100, Krzysztof Piotr Oledzki wrote: > Changes in this version: > - documentation > - close race between a started check and health analysis event > - don't force fastinter if it is not set

[PATCH] [RFC] Decrease server health based on http responses / events, version 2

2009-12-11 Thread Krzysztof Piotr Oledzki
Subject: [RFC] Decrease server health based on http responses / events, version 2 This RFC quality patch implements decreasing server health based on observing communication between HAProxy and servers. Changes in this version: - documentation - close race between a started check and health an

Re: [PATCH] [RFC] Decrease server health based on http responses / events

2009-12-10 Thread Willy Tarreau
On Thu, Dec 10, 2009 at 07:17:30PM +0100, Krzysztof Ol?dzki wrote: (...) > >"events" by itself might not be the proper name then. For instance, a > >timeout is precisely a lack of event. > > It's a matter of definition, like if 0 is or is not a natural number. > For me timeout *is* one of events,

Re: [PATCH] [RFC] Decrease server health based on http responses / events

2009-12-10 Thread Krzysztof Olędzki
On 2009-12-10 08:39, Willy Tarreau wrote: Hi Krzysztof, Hi Willy, (...) What are those "events" supposed to check for ? I've not found them anywhere else. Ineed. It is for pure TCP, where we can only track timeouts, resets, etc. However, I'm looking for a good place where to attach those che

Re: [PATCH] [RFC] Decrease server health based on http responses / events

2009-12-09 Thread Willy Tarreau
Hi Krzysztof, On Wed, Dec 09, 2009 at 01:23:57PM +0100, Krzysztof Ol?dzki wrote: > There are four modes: > > - fastinter: force fastinter > > - failchk: simlate a failed check -> force fastinter OK so that one should decrease the health each time we get a series of errors, that's it

Re: [PATCH] [RFC] Decrease server health based on http responses / events

2009-12-09 Thread Krzysztof Olędzki
On 2009-12-08 22:37, Willy Tarreau wrote: Hi Krzysztof, Hi Willy, it was fortunate that you reminded me about this mail because I had lost it in the middle of a few others. No problem. Like I told you in the private mail - it is doubtful I would have been able to get to it earlier, anyway.

Re: [PATCH] [RFC] Decrease server health based on http responses / events

2009-12-08 Thread Willy Tarreau
Hi Krzysztof, it was fortunate that you reminded me about this mail because I had lost it in the middle of a few others. On Sun, Oct 25, 2009 at 01:35:35AM +0200, Krzysztof Piotr Oledzki wrote: > Subject: [RFC] Decrease server health based on http responses / events > > This RFC quality patch im

[PATCH] [RFC] Decrease server health based on http responses / events

2009-10-24 Thread Krzysztof Piotr Oledzki
Subject: [RFC] Decrease server health based on http responses / events This RFC quality patch implements decreasing server health based on observing communication between HAProxy and servers. I have had a working patch for this for a long time, however I needed to rewrite nearly everything to rem