Re: [squid-users] Redundancy

From: <trainier@dont-contact.us>
Date: Wed, 18 Jan 2006 14:00:31 -0500

trainier@kalsec.com wrote on 01/18/2006 01:42:06 PM:

> Mark Elsen <mark.elsen@gmail.com> wrote on 01/18/2006 11:53:33 AM:
>
> > > Squid Version: squid/2.5.STABLE12
> > >
> > > I've configured a proxy script that my clients point to. It reads
as
> > > follows:
> > >
> > > function FindProxyForURL(url, host)
> > > {
> > > if (isPlainHostName(host) || isInNet(host, "172.24.0.0",
> > > "255.255.0.0")
> > > || isInNet(host, "192.168.0.0",
> > > "255.255.0.0"))
> > > return "DIRECT";
> > > else
> > > return "PROXY wpad.kal.kalsec.com:8000; PROXY
> > > wpad.kal.kalsec.com:8080; DIRECT";
> > > }
> > >
> > >
> > > I'm doing this because, when squid is "Store rebuilding" it is very
> slow
> > > about carrying out cache requests.
> > >
> > > Squid mostly only does this when I do a squid -k reconfigure.
> > >
> > > My first question is, why does squid have to do this every time I
send
> it
> > > a reconfigure command?
> >
> > It doesnīt , at least not for me, and I mean upon :
> >
> > % squid -k reconfigure
> >
> > using STABLE12 (too).
>
> I realize this isn't normal. That's why I asked the question. Are you
> using SquidGuard too?
> This happens when I update a squidguard database (should have no adverse

> affect on squid, but it seems to), then do the squid -z.

I obviously mean squid -k, not -z.
>
> >
> > > My second question is, I see there's a command-line option to tell
> squid
> > > to ignore cache requests until store rebuilding is complete.
> >
> > -F
> >
> > But itīs known to be somewhat broken, because SQUID still accepts
> > connections at the TCP level; so you get stale connections.
> >
> > There is a bugzilla for that somewhere.
> >
> > M.
>
Received on Wed Jan 18 2006 - 12:03:47 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST