Welcome! Log In Create A New Profile

Advanced

Haproxy health check interval value is not being respected

Posted by Adwait Gokhale 
Adwait Gokhale
Haproxy health check interval value is not being respected
June 13, 2018 06:40PM
Hello,

I have come across an issue with use of 'inter' parameter that sets
interval between two consecutive health checks. When configured, I found
that health checks are twice as aggressive than what is configured.

For instance, when I have haproxy with 2 backends with 'default-server
inter 10s port 80 rise 5 fall 3' I see that health checks to every
backend is at interval of 5 seconds instead of 10. With more than 2
backends, this behavior does not change.

Is this a known bug or is it a misconfiguration of some sorts? Appreciate
your help with this.

Thanks,
Adwait
On Wed, Jun 13, 2018 at 6:31 PM, Adwait Gokhale <[email protected]>
wrote:

> Hello,
>
> I have come across an issue with use of 'inter' parameter that sets
> interval between two consecutive health checks. When configured, I found
> that health checks are twice as aggressive than what is configured.
>
> For instance, when I have haproxy with 2 backends with 'default-server
> inter 10s port 80 rise 5 fall 3' I see that health checks to every
> backend is at interval of 5 seconds instead of 10. With more than 2
> backends, this behavior does not change.
>
> Is this a known bug or is it a misconfiguration of some sorts? Appreciate
> your help with this.
>
> Thanks,
> Adwait
>


Hi,

Maybe you could share your entire configuration?
That would help a lot.

Baptiste
Sorry, only registered users may post in this forum.

Click here to login