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
Received on Wed Dec 26 2007 - 18:01:03 MST
This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:02 MST