Re: [squid-users] squid ceasing to function when interface goes down

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 06 Dec 2009 00:27:23 +1300

tyler_at_marieval.com wrote:
> I'm using squid with a parent that's over a VPN. This VPN occasionally
> times out or goes down; I'm having difficulty deducing which, but
> theoretically my scripts should reboot it whenever the VPN goes up so I
> suspect the former.
>
> The end result is that my downstream squid occasionally decides to
> return nothing but 404's ever again until manually restarted. I'm
> having to watch it like a hawk and can't keep that up all Christmas. If
> it would just reopen the interface on its own, all would be well. Is
> there any way to make it deal with this condition gracefully instead of
> flipping out?
>

The normal way to handle these things is to use a) reliable network
connections, or b) multiple interfaces.

What Squid is this?

Things should go back to normal when the interface actually comes back
up again.

If the interface is up, the parent proxy contactable and Squid still
sending out the error pages you need to take a good look at those error
pages and see *why* Squid thinks they are still valid. Probably turn
negative_ttl down to an HTTP compliant 0 seconds as well.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.15
Received on Sat Dec 05 2009 - 11:27:35 MST

This archive was generated by hypermail 2.2.0 : Sat Dec 05 2009 - 12:00:01 MST