Re: How do you allow core dumps on fedora
From: Dan Track (dan.track_at_gmail.com)
Date: 07/12/05
- Previous message: Timothy Murphy: "Re: Couple of things re FC4 & yum"
- In reply to: gb spam: "Re: How do you allow core dumps on fedora"
- Next in thread: Paul Howarth: "Re: How do you allow core dumps on fedora"
- Reply: Paul Howarth: "Re: How do you allow core dumps on fedora"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 12 Jul 2005 12:00:58 +0100 To: gb spam <gbofspam@gmail.com>
On 7/12/05, gb spam <gbofspam@gmail.com> wrote:
> > How can you permit core dumps files to be created on fedora. I had
> > read previously that they were disabled by default. Can I create
> > maximum limit on any core dump file. How can I only allow core dumps
> > to occur in the /opt directory and not in the root file system?
>
> as root:
> echo "kernel.core_pattern = /opt/core" >> /etc/sysctl.conf
> sysctl -p
>
> as the user generating core files:
> ulimit -c 1000 (or whatever)
>
> you need to run ulimit prior to running any process that would
> generate a core dump, and you need to do it each time you log in, so
> you should consider putting it in your profile.
>
> once you ulimit -c in a process, you can only reduce it from that
> point, so you'll need to log out and back in if you want to increase
> it.
>
Ok great,
So If I want a core file of maximum size of 10Mb would I type "ulimit
-c 1000" or is it "ulimit -c 10000". Incidentally what is a block?
What is its value?
Thanks
Dan
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Timothy Murphy: "Re: Couple of things re FC4 & yum"
- In reply to: gb spam: "Re: How do you allow core dumps on fedora"
- Next in thread: Paul Howarth: "Re: How do you allow core dumps on fedora"
- Reply: Paul Howarth: "Re: How do you allow core dumps on fedora"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|