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

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to