[squid-users] Preparing for shutdown after xxx requests
Amos Jeffries
squid3 at treenet.co.nz
Thu Jun 23 05:40:59 UTC 2016
On 23/06/2016 5:17 p.m., David wrote:
> So far Squid worked nice, but recently it shutdown again and again with:
>
> Preparing for shutdown after xxx requests
>
> has someone a hint what that causes squid to shutdown
>
That message only occurs in the case the some external command was sent
to Squid to shutdown. ie. a proper clean shutdown, not a crash.
For example;
* squid -k shutdown
* squid -k restart
* kill -SIGTERM ...
* squidclient mgr:shutdown
* squidclient mgr:restart
* cachemgr.cgi shutdown or restart request
The usual cause is an init script using -k shutdown or restart signals
where they actually only need reconfigure.
Far less common, but also possible is incorrect http_access permissinos
letting external visitors get to the manager control panel and somebody
playing with the shutdown "report" ability.
- this might be because of old manager ACL definition from Squid-2
still being used. Squid-3.5 has a new definition.
HTH
Amos
More information about the squid-users
mailing list