Hi… what are Pro & Con for Long time out?
defaults
log global
timeout server 5s
timeout connect 5s
timeout client 5s
Vs.
defaults
log global
timeout server 50000s
timeout connect 5000s
timeout client 50000s
Hi… what are Pro & Con for Long time out?
defaults
log global
timeout server 5s
timeout connect 5s
timeout client 5s
Vs.
defaults
log global
timeout server 50000s
timeout connect 5000s
timeout client 50000s
Its pretty much always a bad idea to set high timeouts.
Cons are:
I would add to Lukas response that there is no good reason to have a long “timeout connect”.
This value matches the time between a TCP SYN and a SYN/ACK on the network between HAProxy and the server.
Thank you both of you.