[squid-users] squid 2.4-stable2 multiple exited on signal 6 (may be bug)

From: Hany <Hany@dont-contact.us>
Date: Tue, 8 Jan 2002 13:57:19 +0300

hi,

child squid exit with signal 6 repeatedly and so the parent exits.
the problem is that squid does not report any error in cache.log (see down)

the description is as follow:
I am running squid 2.4-Stable2 (on FreeBSD 4.4) with patches:

CONNECT/ssl core dump
Corrupt on-disk meta information
LDAP and passwords with spaces
Coredump when creating FTP directories
Compile problem due to statHistDump prototype mismatch
Potential coredump on snmpwalk
Filedescriptor leakage in the aufs store

has been compiled and installed from FreeBSD ports.

there are four machines with exactly the same configurations. and load
balancing between them using dns round robin. and there is no communication
between them of any kind. the common thing between them is
1) they have the same cache_peer proxy.
2) the log rotation is happening at 3:00 am.

the average load on them is around 70 req/sec.

they crashes almost at the same time 3:59:(the difference is seconds)
without reporting any error as you can see in cache.log.
when they crashes. the load on them at that time was around 50 req /sec. no
core file has been generated.

some other info:
one machine has been tested with heavy load, it reaches 250 req/sec with one
problem that some times happen which is BUG#94 (which I am waiting for it to
be fixed).

/var/log/messages
Jan 8 03:59:35 xxxxxxx /kernel: pid 64822 (squid), uid 3: exited on signal
6
Jan 8 03:59:35 xxxxxxx squid[64820]: Squid Parent: child process 64822
exited due to signal 6
Jan 8 03:59:38 xxxxxxx squid[64820]: Squid Parent: child process 65661
started
Jan 8 03:59:40 xxxxxxx /kernel: pid 65661 (squid), uid 3: exited on signal
6
Jan 8 03:59:40 xxxxxxx squid[64820]: Squid Parent: child process 65661
exited due to signal 6
Jan 8 03:59:43 xxxxxxx squid[64820]: Squid Parent: child process 65672
started
Jan 8 03:59:45 xxxxxxx /kernel: pid 65672 (squid), uid 3: exited on signal
6
Jan 8 03:59:45 xxxxxxx squid[64820]: Squid Parent: child process 65672
exited due to signal 6
Jan 8 03:59:48 xxxxxxx squid[64820]: Squid Parent: child process 65683
started
Jan 8 03:59:49 xxxxxxx /kernel: pid 65683 (squid), uid 3: exited on signal
6
Jan 8 03:59:49 xxxxxxx squid[64820]: Squid Parent: child process 65683
exited due to signal 6
Jan 8 03:59:52 xxxxxxx squid[64820]: Squid Parent: child process 65694
started
Jan 8 03:59:54 xxxxxxx /kernel: pid 65694 (squid), uid 3: exited on signal
6
Jan 8 03:59:54 xxxxxxx squid[64820]: Squid Parent: child process 65694
exited due to signal 6
Jan 8 03:59:57 xxxxxxx squid[64820]: Squid Parent: child process 65705
started
Jan 8 03:59:59 xxxxxxx /kernel: pid 65705 (squid), uid 3: exited on signal
6
Jan 8 03:59:59 xxxxxxx squid[64820]: Squid Parent: child process 65705
exited due to signal 6
Jan 8 03:59:59 xxxxxxx squid[64820]: Exiting due to repeated, frequent
failures

/var/log/squid/cache.log
2002/01/08 03:37:05| WARNING: failed to unpack meta data
2002/01/08 03:39:28| urlParse: Illegal character in hostname
'www.<E2><80><8E>romaryo.8m.com'
2002/01/08 03:39:57| urlParse: Illegal character in hostname
'www.<C3><A2><E2><82><AC><C5><BD>romaryo.8m.com'
2002/01/08 03:40:04| urlParse: Illegal character in hostname
'www.<E2><80><8E>romaryo.8m.com'
2002/01/08 03:42:24| WARNING: failed to unpack meta data
2002/01/08 03:44:08| urlParse: Illegal character in hostname '''[p[p'
2002/01/08 03:48:31| WARNING: failed to unpack meta data
2002/01/08 03:51:41| WARNING: failed to unpack meta data
2002/01/08 03:53:38| WARNING: failed to unpack meta data
2002/01/08 03:53:54| WARNING: failed to unpack meta data
2002/01/08 03:56:50| WARNING: failed to unpack meta data
2002/01/08 03:57:35| WARNING: failed to unpack meta data
2002/01/08 03:57:57| WARNING: failed to unpack meta data
2002/01/08 03:58:01| WARNING: failed to unpack meta data
2002/01/08 03:58:33| WARNING: failed to unpack meta data
2002/01/08 03:59:38| Starting Squid Cache version 2.4.STABLE2 for
i386--freebsd4.4...
2002/01/08 03:59:38| Process ID 65661
2002/01/08 03:59:38| With 16424 file descriptors available
2002/01/08 03:59:38| Performing DNS Tests...
2002/01/08 03:59:38| Successful DNS name lookup tests...
2002/01/08 03:59:38| DNS Socket created on FD 4
2002/01/08 03:59:38| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2002/01/08 03:59:38| Adding nameserver xxx.xxx.xxx.xxx from /etc/resolv.conf
2002/01/08 03:59:38| Adding nameserver xxx.xxx.xxx.xxx from /etc/resolv.conf
2002/01/08 03:59:38| helperOpenServers: Starting 5 'jesred' processes
2002/01/08 03:59:39| Unlinkd pipe opened on FD 14
2002/01/08 03:59:39| Swap maxSize 30720000 KB, estimated 2363076 objects
2002/01/08 03:59:39| Target number of buckets: 118153
2002/01/08 03:59:39| Using 131072 Store buckets
2002/01/08 03:59:39| Max Mem size: 262144 KB
2002/01/08 03:59:39| Max Swap size: 30720000 KB
2002/01/08 03:59:39| Store logging disabled
2002/01/08 03:59:39| Rebuilding storage in /cache/cache1 (DIRTY)
2002/01/08 03:59:39| Rebuilding storage in /cache/cache2 (DIRTY)
2002/01/08 03:59:39| Rebuilding storage in /cache/cache3 (DIRTY)
2002/01/08 03:59:39| Using Least Load store dir selection
2002/01/08 03:59:39| Set Current Directory to /cache/cache1
2002/01/08 03:59:39| Loaded Icons.
2002/01/08 03:59:39| Accepting HTTP connections at 0.0.0.0, port 8080, FD
21.
2002/01/08 03:59:39| Accepting SNMP messages on port 3401, FD 23.
2002/01/08 03:59:39| WCCP Disabled.
2002/01/08 03:59:39| Ready to serve requests.
2002/01/08 03:59:40| Store rebuilding is 0.5% complete
2002/01/08 03:59:43| Starting Squid Cache version 2.4.STABLE2 for
i386--freebsd4.4...
2002/01/08 03:59:43| Process ID 65672
2002/01/08 03:59:43| With 16424 file descriptors available
2002/01/08 03:59:43| Performing DNS Tests...
2002/01/08 03:59:43| Successful DNS name lookup tests...
2002/01/08 03:59:43| DNS Socket created on FD 4
2002/01/08 03:59:43| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2002/01/08 03:59:43| Adding nameserver xxx.xxx.xxx.xxx from /etc/resolv.conf
2002/01/08 03:59:43| Adding nameserver xxx.xxx.xxx.xxx from /etc/resolv.conf
2002/01/08 03:59:43| helperOpenServers: Starting 5 'jesred' processes
2002/01/08 03:59:43| Unlinkd pipe opened on FD 14
2002/01/08 03:59:43| Swap maxSize 30720000 KB, estimated 2363076 objects
2002/01/08 03:59:43| Target number of buckets: 118153
2002/01/08 03:59:43| Using 131072 Store buckets
2002/01/08 03:59:43| Max Mem size: 262144 KB
2002/01/08 03:59:43| Max Swap size: 30720000 KB
2002/01/08 03:59:43| Store logging disabled
2002/01/08 03:59:43| Rebuilding storage in /cache/cache1 (DIRTY)
2002/01/08 03:59:43| Rebuilding storage in /cache/cache2 (DIRTY)
2002/01/08 03:59:43| Rebuilding storage in /cache/cache3 (DIRTY)
2002/01/08 03:59:43| Using Least Load store dir selection
2002/01/08 03:59:43| Set Current Directory to /cache/cache1
2002/01/08 03:59:43| Loaded Icons.
2002/01/08 03:59:43| Accepting HTTP connections at 0.0.0.0, port 8080, FD
21.
2002/01/08 03:59:43| Accepting SNMP messages on port 3401, FD 23.
2002/01/08 03:59:43| WCCP Disabled.
2002/01/08 03:59:43| Ready to serve requests.
2002/01/08 03:59:44| Store rebuilding is 0.5% complete
2002/01/08 03:59:48| Starting Squid Cache version 2.4.STABLE2 for
i386--freebsd4.4...
2002/01/08 03:59:48| Process ID 65683
2002/01/08 03:59:48| With 16424 file descriptors available
2002/01/08 03:59:48| Performing DNS Tests...
....
...
...
and so on
Received on Tue Jan 08 2002 - 04:00:10 MST

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