Re: [squid-users] Squid Error

From: Ralf Hildebrandt <Ralf.Hildebrandt@dont-contact.us>
Date: Tue, 22 Apr 2003 11:09:19 +0200

* Henrik Nordstrom <hno@squid-cache.org>:
> On Tuesday 22 April 2003 10.21, Ralf Hildebrandt wrote:
>
> > OK. I had to rebuild squid with "-g" and enabled corefile creation
> > explicitly. ulimit is unlimited for corefiles.
> > Let's see what happens :)
>
> Related Note:
>
> Many OS:es deny core file generation of processes started as root to
> protect from information leakage of root-only information. To
> increase the chance of a core dump being generated it is a good idea
> to start Squid as the cache_effective_user, not as root.
>
> One relatively reliable test to see if your OS falls into this
> category is to try to trace the Squid process with truss/strace as
> the cache_effective_user. If you are not allowed to trace the process
> as the cache_effective_user then you most likely won't see a core
> dump generated on segmentation fault or other fatal errors.

Can I force the generation of a core file?

-- 
Ralf Hildebrandt (Im Auftrag des Referat V a)   Ralf.Hildebrandt@charite.de
Charite Campus Mitte                            Tel.  +49 (0)30-450 570-155
Referat V a - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
AIM: ralfpostfix
Received on Tue Apr 22 2003 - 03:09:25 MDT

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