Re: [squid-users] Squid exitin periodicaly ( Preparing for shut down after )

From: <twinturbo_at_f2s.com>
Date: Tue, 17 Mar 2009 14:11:51 +0000

#17.19 is my old workstation IP, nothing is on this now
#16.2 used to be the ip of the squid server not used anymore

acl netmgr src 10.106.17.19/255.255.255.255 10.106.16.2/255.255.255.255
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
{config cut}
http_access allow localhost
http_access allow manager netmgr localhost
http_access deny all

Cheers

Rob

Quoting ROBIN <twinturbo_at_f2s.com>:

> I will have a look, the basic config file has been in use for about 10
> years with no major issues. ( god i feel old now thinking about that.)
>
> Will examine and post the manager ACL's
>
>
> Rob
>
>
> On Tue, 2009-03-17 at 10:59 +1200, Amos Jeffries wrote:
> > > (Amos) Sorry did not reply to list Ignore..
> > >
> > > I wish SLES10 was more up to date on a few packages!!
> > >
> > > I can't find anythin that may be shutting down squid, certainly there
> > > seems to
> > > be no cron jobs and the issues are happeing at aproximatly 22 minuet
> > > intervals
> > > which is not consistent with a cron schedule.
> > >
> > > It's very odd, and been hapenig for a while but we had not noticed.
> > >
> > > I may just try a full restart on the system.
> > >
> > > Thanks
> > >
> > > Rob
> >
> > You could also check what type of controls you have around the 'manager'
> > ACL in squid.conf. Every visitor with an allow line before the "deny
> > manager" line may have the option to restart Squid with an HTTP request.
> >
> > Amos
> >
> > >
> > >
> > >
> > > twinturbo_at_f2s.com wrote:
> > >> Squid 2.5STABLE12 on SLES10
> > >>
> > >> I know this is quite an old version but it's on our production machine.
> > >>
> > >
> > > Yes. Please bug SLES about using a newer release.
> > >
> > >
> > >> Anyway we have a strange issue where squid seems to be shunting down
> > >> every 22
> > >> minuets or so, the logs says Preparing for shut down after XXX
> > >> requests.
> > >>
> > >> Now every minuet we do a "squid -k reconfigure" as we run squidGuard and
> > >> it's
> > >> config can change all the time. This has never seemed to be a problem in
> > >> the
> > >> past.
> > >>
> > >> I am building up a fresh machine to take over but would like to get this
> > >> one
> > >> working properly too.
> > >>
> > >> So far I have stoped the store.log being written and got the other logs
> > > rotating
> > >> more than once a day to keep them small.
> > >>
> > >> I was previously getting errors about there being to few redirectors so
> > >> I
> > > upped
> > >> that to 30, I have now set it back down to 10 to see what happens.
> > >>
> > >> Rob
> > >
> > > "Preparing for shut down after XXX requests" occurs when Squid receives
> > > its proper shutdown signal. A clean/graceful shutdown proceeds to follow.
> > >
> > > Amos
> > > --
> > > Please be using
> > > Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
> > > Current Beta Squid 3.1.0.6
> > >
> > >
> > >
> >
> >
> >
>
>
>
Received on Tue Mar 17 2009 - 14:12:04 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 18 2009 - 12:00:02 MDT