Hello,

I'd like to know how checks behaves depending on the "inter" and "timeout check" settings.

Let's try this simplified setup :

backend back
 mode tcp
 timeout check 5s
 server s1 1.2.3.4:80 check inter 2s
 server s2 1.2.3.5:80 check inter 2s

"inter 2s" is the default setup. We should have there one check every 2s if everything is optimal. "timeout check 5s" specify that the server check can take up to 5s (once the connection established).

In this configuration, what happens if the check takes more than 2 seconds ?
Does haproxy wait (up to 5 seconds) for this check to finish before launching another check or it's still launching checks every 2s anyway ?

--
Best regards,
Artur


Reply via email to