One would think the intelligent thing to do is find out what's generating
the cores. Simply removing them via a script and being happy that you've
"not seen a core in weeks" is a bit "Marie Antoinette/Let them eat cake"...
but what do I know?
YMMV
Don
-Original Message-
From: Benjamin Sher [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 05, 1999 10:42 PM
To: Helios-Exp
Subject: [expert] Remove "core" magically -- Opinion
Dear friends:
[Using Mandrake 6.1, AMD k6-2 400 Mhrtz, 128 megs of Ram]
My friend Jose M. Sanchez, a frequent advisor to Red Hat and Mandrake
lists and someone whom I have the highest professional respect for,
suggested that I could get rid of the frequent "core" files by editing
the /etc/profile file as follows:
# In bash2 we can't define a ulimit more than 0 for user :-(
[ "$UID" = "0" ]
{
ulimit -c 0
} || {
ulimit -c 0 }
The change he recommend (and which I have put into effect) involved
changing the default value for the FIRST "ulimit" -c from 10 to 0.
I am a non-techie, and as such, while I have full faith in Jose's
judgment, I would appreciate opinions from other gurus as to whether
they agree with Jose and whether there are, in their opinion, any
side-effects that I should take into consideration.
For the record, I made this change about a week to 10 days
ago and have
not had a single "core" that I know of on my system.
Thank you so very much.
Benjamin
--
Benjamin and Anna Sher
Email:[EMAIL PROTECTED]
Sher's Russian Web
http://www.websher.net