Re: How do you allow core dumps on fedora

From: Dan Track (dan.track_at_gmail.com)
Date: 07/12/05

  • Next message: Paul Howarth: "Re: How do you allow core dumps on fedora"
    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
    

  • Next message: Paul Howarth: "Re: How do you allow core dumps on fedora"

    Relevant Pages

    • How do you allow core dumps on fedora
      ... How can you permit core dumps files to be created on fedora. ... maximum limit on any core dump file. ...
      (Fedora)
    • Re: How do you allow core dumps on fedora
      ... > How can you permit core dumps files to be created on fedora. ... you need to run ulimit prior to running any process that would ...
      (Fedora)
    • Re: How useful can a coredump be?
      ... Either of 'em would have given me the clue... ... Core Dumps are ordinarily ... ulimit -c 1024 ... Ding! ...
      (alt.lang.asm)
    • Re: Java core dump size
      ... core dumps are limited only by the ulimit. ... | to uniquely name and locate your core files. ... | surprised that certain gnu/java system library directories are unwisely ...
      (comp.unix.sco.misc)
    • Re: OpenSSH 3.7.1p1 Linux, Gcc 3.3.1 etc.
      ... >Ensure you've enabled core dumps: ... >ulimit -c unlimited ... Good judgement comes with experience. ...
      (comp.security.ssh)