"ulimit -c unlimited" not working

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf "ulimit -c unlimited" not working

  • Creator
    Topic
  • #51954
    David Barr
    Participant

      I’m trying to capture a core file from a process panic (SIGSEGV) to try to help diagnose the problem, but I can’t get the process to dump core.

      I’m running Cloverleaf 5.7 rev2 on Red Hat 5.1.  I’ve changed the “ulimit -c 0” command in /etc/profile to “ulimit -c unlimited”.  I logged out, logged back in and restarted all of my processes.

      The process died again and still no core dump.  Is there a limit somewhere else on core dumps?

    Viewing 1 reply thread
    • Author
      Replies
      • #72475

        From the dev team,

        Quote:

        To stop the engine panic output and get a core dump one must set the env var ALLOW_CORE to 1 for the engine process. Any value will work as only checks to see if env var is defined.

        Normally one checks for the core limit using ulimit -a and he does not indicate that the was done so wonder if the limit actually changed. (On AIX the command is unlimit -c -1 to set unlimited but never looked at linux.)

        -- Max Drown (Infor)

      • #72476
        David Barr
        Participant

          Thanks.  I’ll try that.  And, yes, I did verify with “ulimit -a” that my limits were set the way that I wanted.

      Viewing 1 reply thread
      • The forum ‘Cloverleaf’ is closed to new topics and replies.