search cancel

How to enable core dumps on Unix Systems


Article ID: 89894


Updated On:


CA Automic Workload Automation - Automation Engine


How to enable core dumps on Unix Systems?


Release: AOATAM99000-9.0-Automic-One Automation Tools-Application Manager


If Agent or Server Processes crash on a Unix system they will write a dump file with valuable information for the root cause analysis.

NOTE: If core dumps are disabled they will not be written.

To enable core dumps please perform the following steps:

  •  Run the command:
ulimit -a
  •  This will give you the following output:

core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 1024
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 65536
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 16384
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

As you can see core file size (blocks, -c) is set to "0" this means that core dumps are disabled.

  • To enable core dumps execute the following command:

ulimit -c unlimited

  • To recheck, run
ulimit -a

The output should be :

core file size (blocks, -c) unlimited

Now core dumps are enabled and will be written if processes crash.