Squid reverse - Dead Peer detection
-
I have Squid reverse proxy setup with two web servers in a mapping peer group.
It seems it takes Squid a very long time to detect a dead peer.
If I disable first peer, it takes a good 5 min to detect the peer is down. At that point the second peer will take over. (I can force a connection by disabling the peer webserver in the GUI)
Interestingly, once I bring the first peer back up it is detected right away and traffic is redirected to it.
Also, when you have two peers does traffic get load balanced or is it just fail over?
With both peers working traffic seems to only go to one peer.
Thanks for your help