RE: [expert] Remove core magically -- Opinion

1999-11-08 Thread Vanco, Donald

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
 



Re: [expert] Remove core magically -- Opinion

1999-01-04 Thread Denis Havlik

A single: 

ulimit -c 0  

in /etc/baschrc would be enough for you, I think. It simply sets the
maximum size of corefiles to 0 for everyone - i.e., no core files will be
produced anymore. Personally, I prefere seeing the core-files -
one can always get rid of them later with a cron-job. 

cu  
Denis   
-
Mag. Denis Havlik  http://www.ap.univie.ac.at/users/havlik
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Remove core magically -- Opinion

1999-01-04 Thread Benjamin Sher

Dear Denis:

Thank you so much for your response. Will keep it in mind as an
alternative.

Benjamin
-- 
Benjamin and Anna Sher
Email:[EMAIL PROTECTED]
Sher's Russian Web
http://www.websher.net