Unix Technical Forum

Enable corefile in RH8.0

This is a discussion on Enable corefile in RH8.0 within the Linux Operating System forums, part of the Unix Operating Systems category; --> There is a setting to allow a corefile to be written when a process crashes. If not set, no ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 08:33 AM
Bill McIntyre
 
Posts: n/a
Default Enable corefile in RH8.0

There is a setting to allow a corefile to be written when a process crashes.
If not set, no corefile is created. Can anyone tell me what setting this
is?



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 08:33 AM
Paul Lutus
 
Posts: n/a
Default Re: Enable corefile in RH8.0

Bill McIntyre wrote:

> There is a setting to allow a corefile to be written when a process
> crashes.
> If not set, no corefile is created. Can anyone tell me what setting this
> is?


It's the "corefile" setting. What question did you actually mean to post?
Did you actually want to ask "what does this setting do"?

It allows for the creation of a core dump file if a process crashes. If a
process crashes, a special file is created that contains the environment at
the instant of the crash. This file can be analyzed for clues as about the
cause of the crash.

--
Paul Lutus
http://www.arachnoid.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 08:33 AM
Eric Moors
 
Posts: n/a
Default Re: Enable corefile in RH8.0

> There is a setting to allow a corefile to be written when a process
> crashes. If not set, no corefile is created. Can anyone tell me what
> setting this is?


I suppose you use bash, if so check ulimit -c

Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 08:34 AM
Bill McIntyre
 
Posts: n/a
Default Re: Enable corefile in RH8.0

Yes that's exactly what it is, thank you. /etc/profile had it explicitly
turned off:

# No core files by default
ulimit -S -c 0 > /dev/null 2>&1


"Eric Moors" <scare.crow@oz.land> wrote in message
newsan.2003.10.22.08.34.15.86317.13615@oz.land.. .
> > There is a setting to allow a corefile to be written when a process
> > crashes. If not set, no corefile is created. Can anyone tell me what
> > setting this is?

>
> I suppose you use bash, if so check ulimit -c
>
> Eric



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:11 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com