Re: cache-parent dies to fast when i'm offline

From: Michael Ju. Tokarev <mjt@dont-contact.us>
Date: Thu, 23 Mar 2000 23:11:54 +0300

Not a direct answer, but just one point :
I can guess that you are connecting via modem, using ppp or similar.
If so, you can start squid only when connection establishes, and stop
it when it dies (i.e. most of the time it will not run). If it is
linux/*bsd, do it in /etc/ppp/ip-{up,down}, or see man pppd.

And regadring to your original question: try to play
with dead_peer_timeout setting in squid.conf. By default it
is 10 secounds, you can try to increate it to, say, 30.

Regards,
  Michael.

Thomas Reitelbach wrote:
>
> hello,
>
> this is my first time posting in here. I read (titles) of the FAQ and
> found nothing appropriate to my question:
>
> i'm using squid at my home network and it's not connected to the
> internet most of the time.
> frequently my squid declares the parent cache as dead and my browser
> gives me the message:
>
> <snip>
> The following error was encountered:
>
> Unable to forward this request at this time.
>
> This request could not be forwarded to the origin server or to any
> parent caches. The most likely cause for this error is that:
>
> The cache administrator does not allow this cache to make direct
> connections to origin servers, and
> All configured parent caches are currently unreachable.
>
> Generated Wed, 22 Mar 2000 18:53:58 GMT by proxy.home-erdfunkstelle.de
> (Squid/2.2.STABLE1)
>
> </snip>
>
> any idea where i can set a kind of timeout or disable the feature to
> check my parents frequently?
>
> thanks for answers, FAQ-urls or manpages
>
> greetings,
> Thomas Reitelbach
Received on Thu Mar 23 2000 - 13:14:45 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:22 MST