tyler@xxxxxxxxxxxx wrote:
-------- Original Message --------
Subject: Re: squid ceasing to function when interface
goes down
From: Amos Jeffries <squid3@xxxxxxxxxxxxx>
Date: Sat, December 05, 2009 5:27 am
To: squid-users@xxxxxxxxxxxxxxx
I have more information on the errors... it seems that whenever this
happens, it stops trying to access the upstream proxy at 10.0.0.1, and
just tries everything direct, which of course fails since I have
disallowed direct. I want it to use the VPN. And it can -- the instant
I reset it, everything's fine for a few hours until it decides to start
refusing to forward to my default cache_peer again. Here's my config:
http://pastebin.ca/1703265
Two things to try:
1) server_persistent_connections off. This should prevent Squid using
any connections to the parent which are possibly hung.
2) Make sure ICMP is built in and going so Squid can actively measure
the network link to the parent. This is a simpler up-detection
replacement for ICP which you have disabled by using "no-query".
If you are willing to participate in a small experiment. Would you mind
updating that Squid to the 3.1 beta?
That will also give you access to the cache_peer connect-fail-limit=N
configuration option which reduces the time to detect down links to N
instead of 10.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
Current Beta Squid 3.1.0.15