Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

Health check and flapping (1 reply)

$
0
0
Hello,

We have tcp-check configured on some backends, which works fine, except
when service is flapping.

If the backend server is in transitional state, for example
transitionally DOWN (going up), the counter is not reset to 0 if
tcp-check give a KO state between some OK state. The result is that if
the service is flapping, backend become up for a few seconds quite
often, even if all OK state are not consecutives.

Example of sequence with rise 3:

KO -> 0/3
KO -> 0/3
OK -> 1/3
KO -> 1/3 <- should back to 0/3
KO -> 1/3
KO -> 1/3
OK -> 2/3
KO -> 2/3
KO -> 2/3
OK -> 3/3 -> Server UP

Is there a way to configure the counter to reset itself in case of
flapping ?

Thanks.

Viewing all articles
Browse latest Browse all 5112

Trending Articles