Re: [squid-users] Squid Error

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 22 Apr 2003 11:07:48 +0200

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.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Tue Apr 22 2003 - 03:08:12 MDT

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