Re: [squid-users] Squid crashes, but generates no core file

From: Ralf Hildebrandt <[email protected]>
Date: Fri, 15 Apr 2005 17:10:50 +0200

* Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>:
> * Elsen Marc <elsen@imec.be>:
>
> > http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.19
>
> Indeed, the binary had been stripped at installation -- fixed that.
> I adjusted the limits and explicitly changed the directory before starting
> squid.

Yet I get no core file:

cd /squid-cache0
mv core core-`/bin/date +%T`
/bin/sync
ulimit -n 4096
ulimit -c unlimited
# this sets the resource limits
exec /usr/sbin/squid -NsYC

1) Resource Limits -- took care of that with the ulimit calls
2) No debugging symbols. I got those:

# nm /usr/sbin/squid | head
081af940 B AS_tree_head_u
08198180 B AclMatchedName
08112760 B ActionTable
0810caec d Alphanum
080e3de4 r B_BYTES_STR
080e3df0 r B_GBYTES_STR
080e3de8 r B_KBYTES_STR
080e3dec r B_MBYTES_STR
0810c7a4 D Biggest_FD
0810d500 b CBDATA_ASState

3) Threads and Linux: I'm using diskd, so no aufs
cache_dir diskd /squid-cache0 16000 128 128
cache_dir diskd /squid-cache1 16000 128 128

4) Coredump Location
Searched high and low:

# find / -name core | xargs ls -l
lrwxr-xr-x 1 root root 11 Mar 21 10:53 /dev/core -> /proc/kcore
-rw-rw-rw- 1 root root 0 Apr 15 16:50 /squid-cache0/core

This sucks.

-- 
Ralf Hildebrandt (i.A. des IT-Zentrum)          Ralf.Hildebrandt@charite.de
Charite - Universit�tsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                 send no mail to spamtrap@charite.de
Received on Fri Apr 15 2005 - 09:10:53 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT