Problem: Squid Stops Frequently

Problem

Your Squid caching service stops working frequently.

Environment

In the /var/log/syslog you notice entries like this:

Oct 27 19:58:44 srv01 squid[18063]: Squid Parent: (squid-1) process 18865 started
Oct 27 19:58:44 srv01 (squid-1): Write failure -- check your disk space and cache.log
Oct 27 19:58:44 srv01 squid[18063]: Squid Parent: (squid-1) process 18865 exited with status

Solution

Option 1

Increase your disk space on the partition used for the Squid cache (by default
/var/spool/squid with 512MB for Squid). Make sure there is permanently enough disk space available for the configured 512MB.
Note: Even temporary lack of disk space will cause Squid to stop!

Option 2

Re-configure your setting to lower the disk space to be used by squid.
See the option “cache_dir” in squid.conf.
Note: Even temporary lack of disk space will cause Squid to stop! So lowering here might not help.

Mastodon