My squid box works fine for the last 2 months. But this morning, it's
down. I got this piece in the cache.log:
------------------------ cache.log ----------------------------
2005/02/03 10:17:15| WARNING: Forwarding loop detected for:
GET /images/web3_pic1.gif HTTP/1.0^M
Accept: */*^M
Referer: http://y.sina.com.cn/^M
Accept-Language: zh-cn^M
Accept-Encoding: gzip, deflate^M
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)^M
Host: y.sina.com.cn^M
Cookie: UNIPROINFO=sz:1024x768||dp:32||ac:Mozilla||an:Microsoft
Internet Explorer||av:4.0 (compatible, MSIE 6.0, Windows NT
5.0)||cpu:x86||pf:Win32||jv:1.3||ct:lan||lg:zh-cn||tz:-8;
UNIPROPATH=|*||pid:1-5-1-0-5753773|news.sina.com.cn/w/2005-02-03/05105027373s.shtml|st:0|et:1107396589437||hp:N|*|;
UNIPROCT=71-0-0:5|1-4-5:1|62-1-1:1|42-4-3:1|42-0-0:1|31-5-9:2|31-7-8:1|1-6-4:1|1-6-3:1|1-4-2:1|59-68-4036:5|1-6-0:1|1-5-1:2;
FINA_VISITED_S=sh000001|�??�??�y; VISITED_STOCK=sh0000
igamex_cookie=1; sina_cookie_enable=yes; bbsviewtype=1^M
Via: 1.1 GreenCache-2100.gforce.cn/6:3333 (squid/2.5.STABLE7), 1.0
GreenCache-2100.gforce.cn/5:3333 (squid/2.5.STABLE7)^M
X-Forwarded-For: unknown, unknown^M
Cache-Control: max-age=7776000, only-if-cached^M
^M
2005/02/03 10:19:15| storeAufsOpenDone: (2) No such file or directory
2005/02/03 10:19:15| /cache/0D/CC/000DCC1B
2005/02/03 10:19:37| storeAufsOpenDone: (2) No such file or directory
2005/02/03 10:19:37| /cache/05/7F/00057FB3
2005/02/03 10:19:37| storeAufsOpenDone: (2) No such file or directory
2005/02/03 10:19:37| /cache/05/7F/00057F4B
2005/02/03 10:19:37| storeAufsOpenDone: (2) No such file or directory
2005/02/03 10:19:37| /cache/05/83/000583B6
2005/02/03 10:19:37| storeAufsOpenDone: (2) No such file or directory
2005/02/03 10:19:37| /cache/05/7F/00057FA0
2005/02/03 10:20:22| storeAufsOpenDone: (2) No such file or directory
2005/02/03 10:20:22| /cache/01/BB/0001BBA1
2005/02/03 10:21:30| storeAufsOpenDone: (2) No such file or directory
2005/02/03 10:21:30| /cache/06/71/000671AF
2005/02/03 10:22:11| sslReadServer: FD 68: read failure: (104)
Connection reset by peer
2005/02/03 10:23:01| storeAufsOpenDone: (2) No such file or directory
2005/02/03 10:23:01| /cache/08/DE/0008DE32
2005/02/03 10:25:33| storeAufsOpenDone: (2) No such file or directory
2005/02/03 10:25:33| /cache2/00/00/00000020
(squid)[0x475781]
/lib64/tls/libpthread.so.0[0x2a958d2fa0]
(squid)[0x44f942]
(squid)(__strtod_internal+0x7b8)[0x4041c0]
(squid)[0x426e1a]
(squid)[0x425582]
(squid)[0x428c41]
(squid)[0x4254eb]
(squid)[0x429467]
(squid)[0x42af06]
(squid)[0x44ff4a]
/lib64/tls/libc.so.6(__libc_start_main+0xee)[0x2a95eaf1ae]
(squid)(regcomp+0x72)[0x403cea]
FATAL: Received Segment Violation...dying.
-------------------------- End ------------------------------
When I type 'ps -A | grep squid', I can see the process is still
there, and I can telnet the port squid serves, but I can't browse any
web pages.
Can somebody tell me what's the matter with it?
------------------ System informatio -----------------
- AMD Opteron 248 * 2
- S2882 Thunder K8s Pro
- RAM 1GB
- 2 SCSI Seagate 10k for RAID-0
# uname -a
Linux NGate 2.4.21-20.EL.NGate #2 SMP Mon Nov 8 13:26:37 CST 2004
i686 athlon i386 GNU/Linux
# /usr/local/squid/sbin/squid -v
Squid Cache: Version 2.5.STABLE7
configure options: --prefix=/usr/local/squid --with-aufs-threads=32
--with-pthreads --with-aio --with-dl --enable-storeio=ufs,aufs,diskd
--enable-removal-policies=lru,heap --enable-kill-parent-hack
--enable-snmp --enable-poll --disable-ident-lookups
--disable-hostname-checks --enable-underscores --enable-stacktraces
--enable-dl-malloc --enable-wccpv2
# cat /usr/local/squid/etc/squid.conf
visible_hostname NGate.com
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \? .cgi .pl .php .asp .cfm
no_cache deny QUERY
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i .gif 1440 90% 129600 reload-into-ims
refresh_pattern -i .swf 1440 90% 129600 reload-into-ims
refresh_pattern -i .jpg 1440 90% 129600 reload-into-ims
refresh_pattern -i .bmp 1440 90% 129600 reload-into-ims
refresh_pattern -i .pdf 0 90% 129600 reload-into-ims
refresh_pattern -i .zip 0 90% 129600 reload-into-ims
refresh_pattern -i .rar 0 90% 129600 reload-into-ims
refresh_pattern -i .exe 0 90% 129600 reload-into-ims
refresh_pattern . 1 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80
acl CONNECT method CONNECT
http_access allow manager localhost
http_access allow CONNECT SSL_ports
http_access deny !Safe_ports
http_access deny to_localhost
http_access allow all
acl snmppublic snmp_community public
snmp_access allow snmppublic all
snmp_incoming_address 0.0.0.0
snmp_outgoing_address 0.0.0.0
dns_nameservers 127.0.0.1
half_closed_clients off
logfile_rotate 0
maximum_object_size 51200 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 100 KB
store_avg_object_size 13 KB
store_objects_per_bucket 128
cache_dir aufs /cache 30720 128 256
cache_mem 128 MB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap LRU
coredump_dir /cache
cache_access_log /var/log/cache/access.log
cache_log /var/log/cache/cache.log
cache_store_log none
forwarded_for off
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
httpd_accel_single_host off
http_port 3333
icp_port 0
snmp_port 3401
wccp_router xxx.xxx.xxx.xxx
-------------------------- End ------------------------------
Received on Wed Feb 02 2005 - 21:03:09 MST
This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:01 MST