Re: Mysterious segment violation errors...

From: Jonathan Larmour <JLarmour@dont-contact.us>
Date: Thu, 24 Jul 1997 21:27:25 +0100

At 11:33 24/07/97 -0400, Michael Pelletier wrote:
>Perhaps the corelessness problem comes from running a stripped binary.
>I'll rebuild a 1.1.14+retry with the symbol table, and see if that
>produces a core file that I can find.

Stripping shouldn't affect whether a core file is generated. I think this
should be in the FAQ if it isn't already, but you may need to set the limit
in the shell that starts squid.

e.g. for bash, you need to do:
ulimit -c unlimited

for csh:
limit coredumpsize unlimited

Put whichever of the above is appropriate into the script that starts
squid. Squid dumps core into the root of the cache directory I believe.

To test it, you can force squid (or another test process) to dump core by
doing kill -SEGV <pid>

HTH,

Jonathan L.

Origin UK,323 Cambridge Science Park,Cambridge,England. Tel: +44(1223)423355
------[ Do not think that every sad-eyed woman has loved and lost... ]------
April 12th! Ra!Ra!----[ she may have got him. -Anon ]-----April 12th! Ra!Ra!
Help fight spam! http://spam.abuse.net/ These opinions are all my own fault
Received on Thu Jul 24 1997 - 13:46:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:50 MST