[squid-users] squid exiting with errors

From: Mike Rambo <mrambo@dont-contact.us>
Date: Tue, 22 Apr 2003 14:28:05 -0400

Hey all,

squid-2.4.STABLE7-2mdk

Very suddenly this morning squid has started crashing due to not enough
redirectors. The redirectors themselves are exiting with signal 6. I'll
include a snippet or two of logs that might help.

/var/log/messages
Apr 22 08:36:24 squid squid[2294]: Squid Parent: child process 2437
exited due to signal 6
Apr 22 08:36:27 squid squid[2294]: Squid Parent: child process 2466
started
Apr 22 08:36:32 squid (squid): Too few redirector processes are running
Apr 22 08:36:32 squid squid[2294]: Squid Parent: child process 2466
exited due to signal 6
Apr 22 08:36:35 squid squid[2294]: Squid Parent: child process 2510
started
Apr 22 08:36:37 squid kernel: (scsi0:A:2:0): Locking max tag count at 64
Apr 22 08:36:44 squid (squid): Too few redirector processes are running
Apr 22 08:36:44 squid squid[2294]: Squid Parent: child process 2510
exited due to signal 6
Apr 22 08:36:44 squid squid[2294]: Exiting due to repeated, frequent
failures

Does that kernel message about 'Locking max tag count' mean anything in
this context?

/var/log/squid/cache.log
2003/04/22 09:12:19| Restarting Squid Cache (version 2.4.STABLE7)...
2003/04/22 09:12:19| FD 35 Closing HTTP connection
2003/04/22 09:12:19| FD 37 Closing ICP connection
2003/04/22 09:12:19| FD 38 Closing HTCP socket
2003/04/22 09:12:19| FD 39 Closing SNMP socket
2003/04/22 09:12:19| Cache dir '/mnt/cache' size remains unchanged at
11264000 KB
2003/04/22 09:12:19| DNS Socket created on FD 4
2003/04/22 09:12:19| Adding nameserver 10.189.16.1 from /etc/resolv.conf
2003/04/22 09:12:19| Adding nameserver 10.189.16.2 from /etc/resolv.conf
2003/04/22 09:12:19| helperOpenServers: Starting 25 'squidGuard'
processes
2003/04/22 09:12:20| Accepting HTTP connections at 0.0.0.0, port 3128,
FD 6.
2003/04/22 09:12:20| Accepting ICP messages at 0.0.0.0, port 3130, FD
33.
2003/04/22 09:12:20| Accepting HTCP messages on port 4827, FD 35.
2003/04/22 09:12:20| Accepting SNMP messages on port 3401, FD 37.
2003/04/22 09:12:20| WCCP Disabled.
2003/04/22 09:12:20| Loaded Icons.
2003/04/22 09:12:20| Ready to serve requests.
2003/04/22 09:14:58| WARNING: redirector #1 (FD 7) exited
2003/04/22 09:15:24| WARNING: redirector #2 (FD 8) exited
2003/04/22 09:15:25| WARNING: redirector #3 (FD 9) exited
2003/04/22 09:15:27| WARNING: redirector #4 (FD 10) exited
2003/04/22 09:15:28| WARNING: redirector #5 (FD 11) exited
2003/04/22 09:15:29| WARNING: redirector #7 (FD 13) exited
2003/04/22 09:15:30| WARNING: redirector #6 (FD 12) exited
2003/04/22 09:15:30| WARNING: redirector #8 (FD 14) exited
2003/04/22 09:15:31| WARNING: redirector #9 (FD 15) exited
2003/04/22 09:15:31| WARNING: redirector #10 (FD 16) exited
2003/04/22 09:16:07| WARNING: redirector #11 (FD 17) exited
2003/04/22 09:16:08| WARNING: redirector #12 (FD 18) exited
2003/04/22 09:16:08| WARNING: redirector #13 (FD 19) exited
2003/04/22 09:16:09| WARNING: redirector #14 (FD 20) exited
2003/04/22 09:16:09| storeDirWriteCleanLogs: Starting...
2003/04/22 09:16:09| WARNING: Closing open FD 6
2003/04/22 09:16:09| 65536 entries written so far.
2003/04/22 09:16:09| 131072 entries written so far.
2003/04/22 09:16:09| 196608 entries written so far.
2003/04/22 09:16:09| 262144 entries written so far.
2003/04/22 09:16:09| 327680 entries written so far.
2003/04/22 09:16:09| 393216 entries written so far.
2003/04/22 09:16:09| 458752 entries written so far.
2003/04/22 09:16:10| 524288 entries written so far.
2003/04/22 09:16:10| 589824 entries written so far.
2003/04/22 09:16:10| 655360 entries written so far.
2003/04/22 09:16:10| 720896 entries written so far.
2003/04/22 09:16:10| 786432 entries written so far.
2003/04/22 09:16:10| WARNING: Closing open FD 33
2003/04/22 09:16:10| Finished. Wrote 788784 entries.
2003/04/22 09:16:10| Took 1.1 seconds (740430.9 entries/sec).
FATAL: Too few redirector processes are running
Squid Cache (Version 2.4.STABLE7): Terminated abnormally.

/var/log/squidGuard/squidGuard.log
2003-04-22 09:12:20 [3207] loading dbfile
/var/squidGuard/blacklists/local-block/urls.db
2003-04-22 09:12:20 [3207] squidGuard 1.2.0 started (1051017140.444)
2003-04-22 09:12:20 [3207] squidGuard ready for requests
(1051017140.456)
2003-04-22 09:16:10 [3197] squidGuard stopped (1051017370.484)
2003-04-22 09:16:10 [3206] squidGuard stopped (1051017370.485)
2003-04-22 09:16:10 [3204] squidGuard stopped (1051017370.487)
2003-04-22 09:16:10 [3207] squidGuard stopped (1051017370.487)
2003-04-22 09:16:10 [3205] squidGuard stopped (1051017370.488)
2003-04-22 09:16:10 [3203] squidGuard stopped (1051017370.488)
2003-04-22 09:16:10 [3202] squidGuard stopped (1051017370.489)
2003-04-22 09:16:10 [3200] squidGuard stopped (1051017370.489)
2003-04-22 09:16:10 [3201] squidGuard stopped (1051017370.490)
2003-04-22 09:16:10 [3198] squidGuard stopped (1051017370.490)
2003-04-22 09:16:10 [3199] squidGuard stopped (1051017370.491)

CPU utilization pegs now anytime I try to direct any traffic to squid
since this has started happening. I've also noticed that everything in
access.log is a TCP_MISS and has been for at least the last week (I
didn't go back further for a look). This doesn't sound right but I don't
know if it's related to the current problem.

I appreciate any/all help. Thanks.

-- 
Mike Rambo
Lansing School District
mrambo@lsd.k12.mi.us
Received on Tue Apr 22 2003 - 12:28:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:12 MST