MLUG: Re: [MLUG] RH - how to enable coredumps?
Re: [MLUG] RH - how to enable coredumps?
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Tue, 2 Mar 2004, Mark Haidekker wrote:

> I used to get coredumps from crasing programs, but at some time, this
> stopped.  I suspect it is somehow turned off by default in recent
> distros (RH). Does anybody know off their head where to change the
> setting?
>
> No, it's not a zero-byte coredump, it's no core file at all. Also,
> ulimit and quotas are not set.


I put the stuff below in my system tcsh .cshrc file.  If you are using
bash, you might have something similar in your bash system-wide config
file (whatever that's called).  Try "man bash" to get started.

Mike


# The line below essentially eliminates the core dump files that sometimes
# are created when programs crash.  These files can be useful in diagnosing
# software problems, but more often they will take up space (e.g., 8 MB) on
# the hard drive and not be used or noticed.  This command limits their size
# to zero bytes.  If you need to see core dump files, run the command
# "unlimit coredumpsize".  "man limit" for more information (for tcsh, refer
# to csh instructions).

limit coredumpsize 0
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members