[squid-users] Squid crashing

From: <daniel.jarboe@dont-contact.us>
Date: Thu, 31 Jul 2003 09:19:59 -0400

I've been having problems with squid crashing, especially during busier
times. This is with RH 7.2 on s390.

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

The samba is 2.2.8a.

Here's the conf
http_port 80
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)
cache_effective_user squid
cache_effective_group squid
coredump_dir /var/log/squid/core/
logfile_rotate 3

Here's a sample of some of the /var/log/messages errors.
Jul 28 12:46:31 linprox kernel: User process fault: interruption code
0x10
Jul 28 12:46:31 linprox kernel: failing address: 1010000
Jul 28 12:46:31 linprox kernel: CPU: 0
Jul 28 12:46:31 linprox kernel: Process squid (pid: 998,
stackpage=04FB3000)
Jul 28 12:46:31 linprox kernel:
Jul 28 12:46:31 linprox kernel: User PSW: 070dd000 c02b601e
Tainted: PF
Jul 28 12:46:31 linprox kernel: task: 04fb2000 ksp: 04fb3cf8 pt_regs:
04fb3f68
Jul 28 12:46:31 linprox kernel: User GPRS:
Jul 28 12:46:31 linprox kernel: 0092ae70 00000003 01010101 000dc6e8
Jul 28 12:46:31 linprox kernel: 01010101 4035cb50 00000000 7fffd4d8
Jul 28 12:46:31 linprox kernel: 01010101 00000000 00000000 7fffcde8
Jul 28 12:46:31 linprox kernel: c03601ec c02b5ffc c02827ce 7fffcde8
Jul 28 12:46:31 linprox kernel: User ACRS:
Jul 28 12:46:31 linprox squid[845]: Squid Parent: child process 998
exited due t
o signal 6
Jul 28 12:46:31 linprox kernel: 40177f60 00000000 00000000 00000000
Jul 28 12:46:31 linprox kernel: 00000000 00000000 00000000 00000000
Jul 28 12:46:31 linprox last message repeated 2 times
Jul 28 12:46:31 linprox kernel: User Code:
Jul 28 12:46:31 linprox kernel: bf 31 20 00 a7 84 00 1c a7 2a 00 01 18
32 14 31
a7 74 ff f8
Jul 28 12:46:34 linprox squid[845]: Squid Parent: child process 1240
started
Jul 28 12:47:31 linprox kernel: User process fault: interruption code
0x10
Jul 28 12:47:31 linprox kernel: failing address: 1010000
Jul 28 12:47:31 linprox kernel: CPU: 0
Jul 28 12:47:31 linprox kernel: Process squid (pid: 1240,
stackpage=04447000)
Jul 28 12:47:31 linprox kernel:
Jul 28 12:47:31 linprox kernel: User PSW: 070dd000 c02b601e
Tainted: PF
Jul 28 12:47:31 linprox kernel: task: 04446000 ksp: 04447cf8 pt_regs:
04447f68
Jul 28 12:47:31 linprox kernel: User GPRS:
Jul 28 12:47:31 linprox kernel: 0094f640 00000003 01010101 000dc6e8
Jul 28 12:47:31 linprox kernel: 01010101 4035cb50 00000000 7fffd4d8
Jul 28 12:47:31 linprox kernel: 01010101 00000000 00000000 7fffcde8
Jul 28 12:47:31 linprox kernel: c03601ec c02b5ffc c02827ce 7fffcde8
Jul 28 12:47:31 linprox kernel: User ACRS:
Jul 28 12:47:31 linprox squid[845]: Squid Parent: child process 1240
exited due
to signal 6
Jul 28 12:47:31 linprox kernel: 40177f60 00000000 00000000 00000000
Jul 28 12:47:31 linprox kernel: 00000000 00000000 00000000 00000000
Jul 28 12:47:31 linprox last message repeated 2 times
Jul 28 12:47:31 linprox kernel: User Code:
Jul 28 12:47:31 linprox kernel: bf 31 20 00 a7 84 00 1c a7 2a 00 01 18
32 14 31
a7 74 ff f8
Jul 28 12:47:34 linprox squid[845]: Squid Parent: child process 1443
started
Jul 28 12:50:31 linprox kernel: User process fault: interruption code
0x10
Jul 28 12:50:31 linprox kernel: failing address: 1010000
Jul 28 12:50:31 linprox kernel: CPU: 0
Jul 28 12:50:31 linprox kernel: Process squid (pid: 1443,
stackpage=03E47000)
Jul 28 12:50:31 linprox kernel:
Jul 28 12:50:31 linprox kernel: User PSW: 070dd000 c02b601e
Tainted: PF
Jul 28 12:50:31 linprox kernel: task: 03e46000 ksp: 03e47cf8 pt_regs:
03e47f68
Jul 28 12:50:31 linprox kernel: User GPRS:
Jul 28 12:50:31 linprox kernel: 00963678 00000003 01010101 000dc6e8
Jul 28 12:50:31 linprox kernel: 01010101 4035cb50 00000000 7fffd4d8
Jul 28 12:50:31 linprox kernel: 01010101 00000000 00000000 7fffcde8
Jul 28 12:50:31 linprox kernel: c03601ec c02b5ffc c02827ce 7fffcde8
Jul 28 12:50:31 linprox kernel: User ACRS:
Jul 28 12:50:31 linprox squid[845]: Squid Parent: child process 1443
exited due
to signal 6
Jul 28 12:50:31 linprox kernel: 40177f60 00000000 00000000 00000000
Jul 28 12:50:31 linprox kernel: 00000000 00000000 00000000 00000000
Jul 28 12:50:31 linprox last message repeated 2 times
Jul 28 12:50:31 linprox kernel: User Code:
Jul 28 12:50:31 linprox kernel: bf 31 20 00 a7 84 00 1c a7 2a 00 01 18
32 14 31
a7 74 ff f8

Also, is the core written with uid/gid of user (squid?) or root? I
assume squid. I don't have a core now because the /var/log/squid/core/
was owned root:root, now it's squid:squid so if it happens again...

~ 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 Thu Jul 31 2003 - 07:16:08 MDT

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