Search squid archive

SIGTERM SIGKILL causes issues with squid shutdown during reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After bumping Squid from 3.4.x to 3.5.x in our implementation of Squid in the Smoothwall Express v3.1 firewall distro we have begun to have complaints from our users about "erratic behavior" of Squid shutting down during reboots or network drops causing reboots.

It appears that squid (v3.5.[5-6]) does not respond well to SIGTERM during system shutdown; the cache index almost invariably needs to be rebuilt on next boot. It is suggested that we use squid to shut squid down. While using squid to stop the squid daemon is very doable, this requirement runs contrary to the longstanding, traditional UNIX method of "SIGTERM, pause, SIGKILL".

During normal system operation, squid *ought* to be able to take as much time as it wants to shut down. But it still shouldn't take more than 10-20 seconds; 'shutdown' is a command, not a request to be honored at squid's leisure. After all, the CPU could be on fire....

This raises a few questions that are intended to foster fresh discussion, not to re-hash old arguments. They are really more rhetorical in nature; the goal is to find the root cause of the problem.

Any thoughts on any of the above statements or issues?

As always, I appreciate any help and suggestions.

Regards

Stan


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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux