Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    redhat 7 create a core dump file

    I am trying to create a core dump file from a process that is failing every few days.

    so far i have been looking at the gdb but really cant figure out how to use it to write a core dump file..

    any suggestions ?

  2. #2

    use command "ulimit -c 50000"

    if you are facing a problem something like

    Program just crashes with "segmentation fault ../../../Source/xx >>xx.cerr"
    No dumps are created.

    you can force the linux to create the dump file by

    setting up your console to ensure that dumps are created...

    The command is ulimit -c 50000 where 50000 is the size in bytes.

    - Mihir Patel
    Last edited by devils casper; 03-12-2009 at 01:47 PM. Reason: Removed blog link.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts