[squid-users] Squid exitin periodicaly ( Preparing for shut down after )
Squid 2.5STABLE12 on SLES10 I know this is quite an old version but it's on our production machine. 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
Re: [squid-users] Squid exitin periodicaly ( Preparing for shut down after )
twintu...@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
Re: [squid-users] Squid exitin periodicaly ( Preparing for shut down after )
(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 twintu...@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
Re: [squid-users] Squid exitin periodicaly ( Preparing for shut down after )
> (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 > > > > twintu...@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 > > >
Re: [squid-users] Squid exitin periodicaly ( Preparing for shut down after )
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 > > > > > > > > > twintu...@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 > > > > > > > > >
Re: [squid-users] Squid exitin periodicaly ( Preparing for shut down after )
#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 : > 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 > > > > > > > > > > > > > > twintu...@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 > > > > > > > > > > > > > > > > > >
Re: [squid-users] Squid exitin periodicaly ( Preparing for shut down after )
twintu...@f2s.com wrote: #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} What got cut? Any http_access lines? http_access allow localhost http_access allow manager netmgr localhost This acl reads "Allow requests using the cache_object protocol if they have a source of 10.106.17.19 or 10.106.16.2 and they have a source of 127.0.0.1". Since no request can have a source of two different IP addresses (that I know of at least) this limits manager access to localhost (which is allowed to do anything by the http_access line above). http_access deny all There must be more http_access lines. Otherwise your proxy wouldn't be usable (unless Squid is a parent for another service on the same box). Cheers Rob Chris