Mr Crack wrote:
Dear Squid Users, I have setup squid proxy such as below so that it will switch to another proxy parent if first proxy fail. ==========> peer_connect_timeout=10 cache_peer cache1 parent 8080 3130 no-query connect-timeout=5 cache_peer cache2 parent 8080 3130 no-query connect-timeout=5 cache_peer cache3 parent 8080 3130 no-query connect-timeout=5 cache_peer cache4 parent 8080 3130 no-query connect-timeout=5 cache_peer cache5 parent 8080 3130 no-query connect-timeout=5 ===========> but if first proxy fail, it takes about 3-5 minutes to switch to next proxy parent .... I want to switch to next proxy as soon as first proxy fail . Any suggestions,
Look into using the monitorurl, monitortimeout and monitorinterval arguments to cache_peer.
Chris