Re: [SQU] Getting Squid to core-dump

From: James R Grinter <jrg@dont-contact.us>
Date: 02 Feb 2001 15:01:58 +0000

Thomas Adam <thomas_adam16@yahoo.com> writes:
> My knowledge of SUN is limited, but if a program
> produces a segmentation overload then a core dump
> should be produced in the directory that holds the
> squid executable!

it's created in the current working directory of the process.

> Try looking there....

Squid specifically changes to the cache directory, in order to store
it in a place where it might be able to write.

(There was a feature 'coredump_dir' added to 2.2, which seems to have
disappeared from later versions - then again, it doesn't actually look
like it worked anyway as the code immediately changed to the first
"swap" aka cache directory.)

But efforts to core dump can be affected by having changed user. (I
think I saw some Solaris patches relating to this very issue. The
original poster should scan through the Solaris 7 Recommended patches
at Sunsolve for more info - Recommended patches are freely available.)

James.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Feb 02 2001 - 08:09:29 MST

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