tyler@xxxxxxxxxxxx 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