RAM cache flushing each at midnight with empty ACL warning
-
I have a very vanilla transparent proxy set up in my home with mostly default settings. The firewall has 2GB RAM, and I've given 256MB to the RAM cache, with 2GB to the HDD cache. Nothing fancy–no dynamic or update content, Clam, no authentication, squidguard, etc. the only mod I've made is to integrate the Cache Manager page into pfSense: https://forum.pfsense.org/index.php?topic=67607.msg503343#msg503343
Each day at midnight, I get an email from pfSense that looks like this:
Subject: Cron root@pfsense/usr/local/pkg/swapstate_check.php clean; /usr/pbi/squid-i386/sbin/squid -k rotate -f /usr/pbi/squid-i386/local/etc/squid/squid.confBody: X-Cron-Env: <shell= bin="" sh="">X-Cron-Env: <path= etc:="" bin:="" sbin:="" usr="" sbin="">X-Cron-Env: <home= var="" log="">X-Cron-Env: <logname=root>X-Cron-Env: <user=root>2015/03/25 00:00:12| Warning: empty ACL: acl throttle_exts urlpath_regex -i "/var/squid/acl/throttle_exts.acl"
squid: ERROR: Could not send signal 30 to process 81262: (3) No such processAnd notice that my RAM cache has been flushed, but HDD cache has not been flushed.
Any idea what's going on?
Thanks,</user=root></logname=root></home=></path=></shell=>/root@pfsense
-
Likewise, I get exactly the same error in my system logs and when I arrive in the morning I find the squid service in a 'stopped' state. A manual start fixes everything again, but it's annoying having to do this every morning.
My system log:
May 31 00:00:00 php: swapstate_check.php: Creating Squid cache dir /var/squid/cache
May 31 00:00:00 php: swapstate_check.php: Creating squid cache subdirs in /var/squid/cache
May 31 00:00:00 php: swapstate_check.php: The command '/usr/pbi/squid-amd64/sbin/squid -k shutdown -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was '2015/05/31 00:00:00| Warning: empty ACL: acl throttle_exts urlpath_regex -i "/var/squid/acl/throttle_exts.acl" squid: ERROR: Could not send signal 15 to process 55868: (3) No such process'
May 31 00:00:05 php: swapstate_check.php: The command '/usr/pbi/squid-amd64/sbin/squid -k kill -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was '2015/05/31 00:00:05| Warning: empty ACL: acl throttle_exts urlpath_regex -i "/var/squid/acl/throttle_exts.acl" squid: ERROR: Could not send signal 9 to process 55868: (3) No such process'
May 31 00:00:05 squid[98304]: Squid Parent: will start 1 kids
May 31 00:00:05 squid[98304]: Squid Parent: (squid-1) process 98610 started
May 31 00:01:39 squid[98304]: Squid Parent: (squid-1) process 98610 exited with status 0
May 31 00:01:39 php: swapstate_check.php: Squid cache and/or swap.state exceeded size limits. Removing and rotating. File was 148248 bytes, 0% of total disk space.