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]

Melissa and Mike:

thanks for your suggestions. However, they do not apply. limit / unlimit is 
SGI, no? I don't have those commands on my system. Also, limit coredumpsize 0 
_does_ create a core file, albeit with zero length. In my case, there is _no_ 
such file.

As for limits.conf, there simply are no limits:
[EMAIL:PROTECTED] ulimit
unlimited

[EMAIL:PROTECTED] quota
Disk quotas for user myself (uid 500): none

bashrc and /etc/profile give no indication of limiting something...

Any other ideas?

Thanks,
Mark



On Tuesday 02 March 2004 13:56, Melissa Plunkett wrote:
> Check /etc/profile for ulimit and /etc/security/limits.conf (see pam
> limits doc in /usr/share/doc/pam-version).
>
> Melissa
>
> Mike Miller wrote:
> > 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

-- 
- - - - - - - - - - - - - - - - - - - - - -
Mark A. Haidekker, Ph.D.
Assistant Professor
University of Missouri-Columbia
Department of Biological Engineering
252 Ag Eng Bldg, 1406 E. Rollins St
Columbia, MO 65211
Phone: (573) 884-4943
Fax: (573) 884-5650
Email: EMAIL:PROTECTED
Web: http://haidekker-lab.missouri.edu

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