I followed the advice found here:
http://www.mail-archive.com/squid-users@squid-cache.org/msg95078.html
Switching to diskd from aufs fixed the crashes for me.
I still get
WARNING: swapfile header inconsistent with available data
messages in the log. They appear within a hour of starting with a clean cache.
When I clean the cache I stop squid, rename the cache directory, create a new cache directory,
start removing the old cache directory, then run "squid -z" before starting squid.
I run the following commands:
/etc/init.d/squid stop
sleep 5
rm -f /var/squid/core*
rm -f /var/squid/swap.state*
rm -rf /var/squid/cache.hold
mv /var/squid/cache /var/squid/cache.hold
rm -rf /var/squid/cache.hold &
squid -z
/etc/init.d/squid start
I'm running on a Red Hat Linux VM.
Here is the output of 'uname -rv':
2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010
Squid Cache: Version 3.4.5-20140514-r13135
configure options: '--with-maxfd=16384' '--enable-storeio=diskd' '--enable-removal-policies=heap' '--enable-delay-pools' '--enable-wccpv2' '--enable-auth-basic=DB NCSA NIS POP3 RADIUS fake getpwnam' '--enable-auth-digest=file' '--with-krb5-config=no' '--disable-auth-ntlm' '--disable-auth-negotiate' '--disable-external-acl-helpers' '--disable-ipv6' --enable-ltdl-convenience
Mike Mitchell
Received on Tue Jun 03 2014 - 19:01:22 MDT
This archive was generated by hypermail 2.2.0 : Wed Jun 04 2014 - 12:00:06 MDT