[CentOS] enabling core dumps

Wed Aug 2 10:59:04 UTC 2006
Larry Vaden <vaden at texoma.net>

On 8/1/06, Rodrigo Barbosa <rodrigob at darkover.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, Aug 01, 2006 at 10:21:10PM -0500, Larry Vaden wrote:
> > How does one enable core dumps for a daemon process?
> >
> > ulimit -c unlimited
> > make sure permission to write is OK (e.g., /var/tmp)
> >
> > what else?
>
> Take a loot at /etc/security/limits.conf

Thanks.  Your suggested technique and another is discussed at
<http://kbase.redhat.com/faq/FAQ_47_2890.shtm>, which says in part:

The first is to replace the above ulimit command in /etc/profile with
the following:

ulimit -S -c unlimited > /dev/null 2>1

Again, thanks for your help.

rgds/ldv