[squid-users] Squid 2.5Stable3 cores

From: <daniel.jarboe@dont-contact.us>
Date: Tue, 19 Aug 2003 11:35:49 -0400

Squid is coreing frequently now (every few minutes). This is a
2.5STABLE3 on RH 7.2 for s/390.

This GDB was configured as "s390-redhat-linux"...
(no debugging symbols found)...
Core was generated by `(squid) -D'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libssl.so.2...done.
Loaded symbols for /lib/libssl.so.2
Reading symbols from /lib/libcrypto.so.2...done.
Loaded symbols for /lib/libcrypto.so.2
Reading symbols from /lib/libpthread.so.0...done.

warning: Unable to set global thread event mask: generic error
[New Thread 1024 (LWP 4249)]
Error while reading shared library symbols:
Cannot enable thread event reporting for Thread 1024 (LWP 4249): generic
error
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0 0x4025f9de in kill () at soinit.c:56
56 soinit.c: No such file or directory.
        in soinit.c
(gdb) bt
#0 0x4025f9de in kill () at soinit.c:56
#1 0x4016f360 in raise (sig=6) at signals.c:65
#2 0x40261124 in abort () at ../sysdeps/generic/abort.c:88
#3 0x004967e2 in strcpy () at soinit.c:56
(gdb)

/var/log/messages shows:
Aug 19 11:22:39 linprox squid[1440]: Squid Parent: child process 4249
started
Aug 19 11:24:36 linprox kernel: User process fault: interruption code
0x10
Aug 19 11:24:36 linprox kernel: failing address: 1010000
Aug 19 11:24:36 linprox kernel: CPU: 0
Aug 19 11:24:36 linprox kernel: Process squid (pid: 4249,
stackpage=05163000)
Aug 19 11:24:36 linprox kernel:
Aug 19 11:24:36 linprox kernel: User PSW: 070dd000 c02b601e
Tainted: PF
Aug 19 11:24:36 linprox kernel: task: 05162000 ksp: 05163e80 pt_regs:
05163f68
Aug 19 11:24:36 linprox kernel: User GPRS:
Aug 19 11:24:36 linprox kernel: 0092e808 00000003 01010101 000dc6e8
Aug 19 11:24:36 linprox kernel: 01010101 4035cb50 00000000 7fffd188
Aug 19 11:24:36 linprox kernel: 01010101 00000000 00000000 7fffca98
Aug 19 11:24:36 linprox kernel: c03601ec c02b5ffc c02827ce 7fffca98
Aug 19 11:24:36 linprox kernel: User ACRS:
Aug 19 11:24:36 linprox squid[1440]: Squid Parent: child process 4249
exited due
 to signal 6
Aug 19 11:24:36 linprox kernel: 40177f60 00000000 00000000 00000000
Aug 19 11:24:37 linprox kernel: 00000000 00000000 00000000 00000000
Aug 19 11:24:37 linprox last message repeated 2 times
Aug 19 11:24:37 linprox kernel: User Code:
Aug 19 11:24:37 linprox kernel: bf 31 20 00 a7 84 00 1c a7 2a 00 01 18
32 14 31
a7 74 ff f8
Aug 19 11:24:40 linprox squid[1440]: Squid Parent: child process 4594
started

Squid Cache: Version 2.5.STABLE3
configure options: s390-redhat-linux --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --exec_prefix=/usr
--bindir=/usr/sbin --libexecdir=/usr/lib/squid --localstatedir=/var
--sysconfdir=/etc/squid --enable-poll --enable-snmp
--enable-removal-policies=heap,lru
--enable-storeio=aufs,coss,diskd,ufs,null --enable-ssl
--with-openssl=/usr/kerberos --enable-delay-pools
--enable-linux-netfilter --with-pthreads '--enable-auth=basic ntlm'
--enable-basic-auth-helpers --enable-ntlm-auth-helpers
--enable-external-acl-helpers

Here's the squid.conf
http_port 3128
pid_filename /var/run/squid/squid.pid
debug_options ALL,1
cache_dir null /tmp
cache_store_log none
cache_access_log /var/www/html/squid/daily/logs/access.log
cache_log /var/www/html/squid/daily/logs/cache.log
auth_param ntlm program /usr/lib/squid/wb_ntlmauth
auth_param ntlm children 96
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
auth_param basic program /usr/lib/squid/wb_auth
auth_param basic children 5
auth_param basic realm Proxy
auth_param basic credentialsttl 40 hours
external_acl_type NT_global_group ttl=3600 negative_ttl=600
concurrency=20 %LOGIN /usr/lib/squid/wbinfo_group.pl
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl password proxy_auth REQUIRED
acl all src 0.0.0.0/0.0.0.0
no_cache deny all
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 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl NTauth external NT_global_group InternetHTTP
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow NTauth
http_reply_access allow all
cache_mgr my.email@blah.com
cache_effective_user squid
cache_effective_group squid
coredump_dir /var/log/squid/core/
logfile_rotate 3

This tends to happen during busy times,
Thanks,
Daniel

-----------------------------------------------------------------------

This message is the property of Time Inc. or its affiliates. It may be
legally privileged and/or confidential and is intended only for the use
of the addressee(s). No addressee should forward, print, copy, or
otherwise reproduce this message in any manner that would allow it to be
viewed by any individual not originally listed as a recipient. If the
reader of this message is not the intended recipient, you are hereby
notified that any unauthorized disclosure, dissemination, distribution,
copying or the taking of any action in reliance on the information
herein is strictly prohibited. If you have received this communication
in error, please immediately notify the sender and delete this message.
Thank you.
Received on Tue Aug 19 2003 - 14:51:11 MDT

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