Squid exited due to signal 6 (NOOB QUSTION)
-
I had been using squid transparent proxy with caching and been very happy. My WAN connection is a 3G air card and caching has helped with browsing.
One day I added too many PFBlocker list entries and ran out of RAM (playing around). After disabling some lists and rebooting squid would give error "squid[77867]: Squid Parent: child process 19957 exited due to signal 6" repeatedly.
I have tried reinstalling, reparing, and nothing has worked. The squid service will not stay running. This is running in a VM and I have a clone of the base configuration which I can go back and start over. However, I am sure there is a way to repair a package without major surgery (correct me if I'm wrong).
Below are log entries.
Nov 30 13:35:58 kernel: pid 86002 (squid), uid 62: exited on signal 6 Nov 30 13:36:01 squid[77867]: Squid Parent: child process 19957 started Nov 30 13:36:01 squid[77867]: Squid Parent: child process 19957 exited due to signal 6 Nov 30 13:36:01 kernel: pid 19957 (squid), uid 62: exited on signal 6 Nov 30 13:36:04 squid[77867]: Squid Parent: child process 23896 started Nov 30 13:36:05 squid[77867]: Squid Parent: child process 23896 exited due to signal 6 Nov 30 13:36:05 kernel: pid 23896 (squid), uid 62: exited on signal 6 Nov 30 13:36:05 squid[77867]: Exiting due to repeated, frequent failures Nov 30 13:39:19 php: /pkg_edit.php: Starting Squid Nov 30 13:39:19 squid[66188]: Squid Parent: child process 67083 started Nov 30 13:39:19 check_reload_status: Reloading filter Nov 30 13:39:20 kernel: pid 67083 (squid), uid 62: exited on signal 6 Nov 30 13:39:20 squid[66188]: Squid Parent: child process 67083 exited due to signal 6 Nov 30 13:39:20 check_reload_status: Syncing firewall Nov 30 13:39:20 php: /pkg_edit.php: Reloading Squid for configuration sync Nov 30 13:39:20 php: /pkg_edit.php: The command '/usr/pbi/squid-i386/sbin/squid -k reconfigure' returned exit code '1', the output was 'squid: ERROR: Could not send signal 1 to process 67083: (3) No such process' Nov 30 13:39:23 squid[66188]: Squid Parent: child process 83126 started Nov 30 13:39:23 kernel: pid 83126 (squid), uid 62: exited on signal 6 Nov 30 13:39:23 squid[66188]: Squid Parent: child process 83126 exited due to signal 6 Nov 30 13:39:26 squid[66188]: Squid Parent: child process 88400 started Nov 30 13:39:27 squid[66188]: Squid Parent: child process 88400 exited due to signal 6 Nov 30 13:39:27 kernel: pid 88400 (squid), uid 62: exited on signal 6 Nov 30 13:39:30 squid[66188]: Squid Parent: child process 89671 started Nov 30 13:39:30 squid[66188]: Squid Parent: child process 89671 exited due to signal 6 Nov 30 13:39:30 kernel: pid 89671 (squid), uid 62: exited on signal 6 Nov 30 13:39:33 squid[66188]: Squid Parent: child process 90995 started Nov 30 13:39:33 squid[66188]: Squid Parent: child process 90995 exited due to signal 6 Nov 30 13:39:33 kernel: pid 90995 (squid), uid 62: exited on signal 6 Nov 30 13:39:33 squid[66188]: Exiting due to repeated, frequent failures Nov 30 13:39:53 php: /pkg_edit.php: Starting Squid Nov 30 13:39:53 squid[93309]: Squid Parent: child process 93689 started Nov 30 13:39:54 check_reload_status: Reloading filter Nov 30 13:39:54 squid[93309]: Squid Parent: child process 93689 exited due to signal 6 Nov 30 13:39:54 kernel: pid 93689 (squid), uid 62: exited on signal 6 Nov 30 13:39:55 check_reload_status: Syncing firewall Nov 30 13:39:55 php: /pkg_edit.php: Reloading Squid for configuration sync Nov 30 13:39:55 php: /pkg_edit.php: The command '/usr/pbi/squid-i386/sbin/squid -k reconfigure' returned exit code '1', the output was 'squid: ERROR: Could not send signal 1 to process 93689: (3) No such process'
I am running
2.1-RELEASE (i386)
built on Wed Sep 11 18:16:22 EDT 2013
FreeBSD 8.3-RELEASE-p11with 2GB of RAM, and using one core of a Xeon E5335 2GZ CPU in a VM. Everything else works.
Any help would be appreciated.
-
Have a look at this thread:
http://forum.pfsense.org/index.php?topic=21571.0 -
Wouldn't have thought that access to the cache folder would have been the problem. However, when I tried to change permissions of the folder I received an error message stating it doesn't exist. When I use the file browser I am able to find it.
What I ended up doing was changing the hard disk cache location from /var/squid/cache to /var/squid/cache2. This solved my problem.
Thanks for the quick reply!
-
Hi,
you could try this:
http://wiki.squid-cache.org/SquidFaq/ClearingTheCachePruning the Cache Down
and
Changing the Cache LevelsPerhaps downsizing the HDD cache could solve the problem. But you changed the path and if it works it will be ok :)