[squid-users] Squid subprocess dead

From: jinge <altman87120_at_gmail.com>
Date: Thu, 12 Sep 2013 21:55:55 +0800

Hi, all!

Today out squid subprocess dead, I config five subprocess, and my configure below. But when I check my zabbix. and found there just one subprocess there and others dead, I don't know why it crashed, and any one help me?

root_at_sq-L1-n1:/usr/local/src# ps aux|grep squid
root 8341 0.0 0.0 473164 3028 ? Ss 21:31 0:00 squid -F
nobody 8343 0.0 0.2 475712 63116 ? S 21:31 0:00 (squid-coord-7) -F
nobody 8344 0.9 0.3 531328 83700 ? D 21:31 0:13 (squid-disk-6) -F
nobody 8347 40.2 6.2 2014628 1548528 ? S 21:31 9:21 (squid-3) -F
root 9846 0.0 0.0 8160 956 pts/0 S+ 21:54 0:00 grep --color=auto squid

===================================

2013/09/12 21:53:36 kid4| Starting Squid Cache version 3.3.6 for x86_64-unknown-linux-gnu...
2013/09/12 21:53:36 kid4| Process ID 9789
2013/09/12 21:53:36 kid4| Process Roles: worker
2013/09/12 21:53:36 kid4| NOTICE: Could not increase the number of filedescriptors
2013/09/12 21:53:36 kid4| With 100000 file descriptors available
2013/09/12 21:53:36 kid4| Initializing IP Cache...
2013/09/12 21:53:36 kid4| DNS Socket created at 0.0.0.0, FD 7
2013/09/12 21:53:36 kid4| Adding nameserver 192.168.172.15 from /etc/resolv.conf
2013/09/12 21:53:36 kid4| Logfile: opening log syslog:local3.info
2013/09/12 21:53:36 kid4| Unlinkd pipe opened on FD 12
2013/09/12 21:53:36 kid4| Store logging disabled
2013/09/12 21:53:36 kid4| Swap maxSize 32768000 + 1048576 KB, estimated 1300637 objects
2013/09/12 21:53:36 kid4| Target number of buckets: 43354
2013/09/12 21:53:36 kid4| Using 65536 Store buckets
2013/09/12 21:53:36 kid4| Max Mem size: 1048576 KB
2013/09/12 21:53:36 kid4| Max Swap size: 32768000 KB
2013/09/12 21:53:36 kid4| Rebuilding storage in /cache2/aufs (clean log)
2013/09/12 21:53:36 kid4| Using Least Load store dir selection
2013/09/12 21:53:36 kid4| Current Directory is /root
2013/09/12 21:53:36 kid4| Loaded Icons.
2013/09/12 21:53:36 kid4| HTCP Disabled.
2013/09/12 21:53:36 kid4| Configuring Parent 127.0.0.1/2233/0
2013/09/12 21:53:36 kid4| Configuring Parent 127.0.0.1/2222/0
2013/09/12 21:53:36 kid4| Squid plugin modules loaded: 0
2013/09/12 21:53:36 kid4| Adaptation support is off.
2013/09/12 21:53:36 kid4| Store rebuilding is 2.07% complete
2013/09/12 21:53:37 kid5| WARNING: Closing client connection due to lifetime timeout
2013/09/12 21:53:37 kid5| http://61.164.142.205/download/194A8185B1050B338530EF922971CB76EC8AF758/Ats-4.ts
2013/09/12 21:53:37 kid4| Done reading /cache2/aufs swaplog (193127 entries)
2013/09/12 21:53:37 kid4| Finished rebuilding storage from disk.
2013/09/12 21:53:37 kid4| 193127 Entries scanned
2013/09/12 21:53:37 kid4| 0 Invalid entries.
2013/09/12 21:53:37 kid4| 0 With invalid flags.
2013/09/12 21:53:37 kid4| 193127 Objects loaded.
2013/09/12 21:53:37 kid4| 0 Objects expired.
2013/09/12 21:53:37 kid4| 0 Objects cancelled.
2013/09/12 21:53:37 kid4| 0 Duplicate URLs purged.
2013/09/12 21:53:37 kid4| 0 Swapfile clashes avoided.
2013/09/12 21:53:37 kid4| Took 0.53 seconds (364098.60 objects/sec).
2013/09/12 21:53:37 kid4| Beginning Validation Procedure
2013/09/12 21:53:37 kid4| Completed Validation Procedure
2013/09/12 21:53:37 kid4| Validated 193126 Entries
2013/09/12 21:53:37 kid4| store_swap_size = 28039748.00 KB
2013/09/12 21:53:37 kid4| Accepting reverse-proxy HTTP Socket connections at local=192.168.134.27:3129 remote=[::] FD 10 flags=1
2013/09/12 21:53:37 kid4| Accepting HTTP Socket connections at local=127.0.0.1:3132 remote=[::] FD 11 flags=1
2013/09/12 21:53:37 kid4| ERROR: Invalid value: '05 GMT' is supposed to be a number.
2013/09/12 21:53:37 kid4| Closing HTTP port 192.168.134.27:3129
2013/09/12 21:53:37 kid4| Closing HTTP port 127.0.0.1:3132
2013/09/12 21:53:37 kid4| storeDirWriteCleanLogs: Starting...
2013/09/12 21:53:37 kid4| 65536 entries written so far.
2013/09/12 21:53:37 kid4| 131072 entries written so far.
2013/09/12 21:53:37 kid4| Finished. Wrote 193127 entries.
2013/09/12 21:53:37 kid4| Took 0.04 seconds (4899959.41 entries/sec).
FATAL: Bungled (null) line 0: icap_retry deny all
Squid Cache (Version 3.3.6): Terminated abnormally.
CPU Usage: 0.672 seconds = 0.120 user + 0.552 sys
Maximum Resident Size: 381232 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena: 89856 KB
        Ordinary blocks: 89090 KB 0 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 0 KB 0 blks
        Free Small blocks: 589 KB
        Free Ordinary blocks: 176 KB
        Total in use: 89090 KB 99%
        Total free: 765 KB 1%

==============================================================

include /usr/local/etc/squid/commonbk/bk.global-options.conf
include /usr/local/etc/squid/commonbk/bk.refresh-pattern.conf
include /usr/local/etc/squid/commonbk/bk.acl-define.conf
include /usr/local/etc/squid/commonbk/bk.acl-action.conf

visible_hostname sq-L1-n1
unique_hostname sq-L1-n1

        cache_dir rock /cache5/aufs/rock 16000 max-size=31000 max-swap-rate=300 swap-timeout=300

workers 5
cpu_affinity_map process_numbers=1,2,3,4,5 cores=3,4,5,6,7
if ${process_number} = 1
# tcp_outgoing_address 192.168.138.24
        http_port 192.168.134.24:3129 accel allow-direct ignore-cc
        http_port 127.0.0.1:3129

        cache_dir diskd /cache3/aufs 32000 16 128 min-size=31001 max-size=4194304

endif

if ${process_number} = 2
# tcp_outgoing_address 192.168.138.25
        http_port 192.168.134.25:3129 accel allow-direct ignore-cc
        http_port 127.0.0.1:3130

        cache_dir diskd /cache6/aufs 32000 16 128 min-size=31001 max-size=4194304

endif

if ${process_number} = 3
# tcp_outgoing_address 192.168.138.26
        http_port 192.168.134.26:3129 accel allow-direct ignore-cc
        http_port 127.0.0.1:3131

# cache_dir diskd /cache9/aufs 32000 16 128 min-size=31001 max-size=4194304
        cache_dir diskd /cache1/aufs 32000 16 128 min-size=31001 max-size=4194304

endif

if ${process_number} = 4
# tcp_outgoing_address 192.168.138.27
        http_port 192.168.134.27:3129 accel allow-direct ignore-cc
        http_port 127.0.0.1:3132

       # cache_dir diskd /cache12/aufs 32000 16 128 min-size=31001 max-size=4194304
        cache_dir diskd /cache2/aufs 32000 16 128 min-size=31001 max-size=4194304

endif

if ${process_number} = 5
# tcp_outgoing_address 192.168.138.28
        http_port 192.168.134.28:3129 accel allow-direct ignore-cc
        http_port 127.0.0.1:3133

       # cache_dir diskd /cache14/aufs 32000 16 128 min-size=31001 max-size=4194304
        cache_dir diskd /cache4/aufs 32000 16 128 min-size=31001 max-size=4194304

endif

access_log syslog:local3.info squid
cache_log /cache1/squid/cache.log

===============================

root_at_sq-L1-n1:/usr/local/etc/squid/commonbk# squid -v
Squid Cache: Version 3.3.6
configure options: '--prefix=/usr/local/squid' '--enable-build-info' '--with-filedescriptors=100000' '--with-aufs-threads=127' '--disable-ipv6' '--disable-translation' '--disable-esi' '--enable-icap-client' '--enable-removal-policies=lru,heap' '--enable-kill-parent-hack' '--disable-eui' '--disable-icmp' '--enable-storeio=aufs,diskd,rock' '--enable-follow-x-forwarded-for' '--disable-wccp' '--enable-wccpv2' '--enable-http-violations' '--disable-ident-lookups' '--enable-zph-qos' '--disable-auto-locale' '--enable-linux-netfilter' '--with-large-files' '--enable-ecap' '--enable-linux-tproxy' --enable-ltdl-convenience

Thanks!

Regards
Jinge
Received on Thu Sep 12 2013 - 13:56:14 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 13 2013 - 12:00:07 MDT