A Gaia core dump consists of the recorded status of the working memory of the Gaia computer at the time that a Gaia process terminated abnormally.
When a process terminates abnormally, it produces a core file in the /var/log/dump/usermode
directory.
If the /log
partition has less than 200 MB, no dumps are created, and all dumps are deleted to create space. This prevents core dumps filling the /log
partition.
To configure core dumps, enable the feature and then configure parameters.
To configure core dumps:
Step |
Description |
---|---|
1 |
In the navigation tree, click System Management > Core Dumps. |
2 |
Configure the parameters. |
3 |
Click Apply. |
Parameters
Parameter |
Description |
Total space limit |
The maximum amount of disk space in MB that is used for storing core dumps. If disk space is required for a core dump, the oldest core dump is deleted. The per-process limit is enforced before the space limit.
|
Dumps per process |
The maximum number of dumps that are stored for each process executable (program) file. A new core dump overwrites the oldest core dump. The per-process limit is enforced before the space limit.
Example: There are two programs "A" and "B", and the per-process limit is limit is 2. Program "A" terminates 1 time and program "B" terminates 3 times. The core dumps that remain are:
|
Description
Configure Gaia core dumps.
Syntax
set core-dump {enable | disable} |
set core-dump total <0-99999> |
set core-dump per_process <0-99999> |
show core-dump total |
show core-dump per_process |
Important - After you add, configure, or delete features, run the save config
command to save the settings permanently.
Parameters
Parameter |
Description |
|
The maximum amount of space that is used for core dumps. If space is required for a dump, the oldest dump is deleted. The per-process limit is enforced before the space limit.
|
|
The maximum number of core dumps that are stored for each process executable (program) file. A new core dump overwrites the oldest core dump. The per-process limit is enforced before the space limit.
Example: There are two programs "A" and "B", and the per-process limit is limit is 2. Program "A" terminates 1 time and program "B" terminates 3 times. The core dumps that remain are:
|