Print Download PDF Send Feedback

Previous

Next

Core Dumps

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.

Configuring Core Dumps - Gaia Portal

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.

  • Range: 1 - 99999 MB
  • Default: 1000 MB

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.

  • Range: 1 - 99999
  • Default: 2

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:

  • 1 core dump for program "A"
  • 2 core dumps for program "B"
  • Core dump 3 for program "B" is deleted because of the per-process limit.

Configuring Core Dumps - Gaia Clish

Description

Configure Gaia core dumps.

Syntax

Important - After you add, configure, or delete features, run the save config command to save the settings permanently.

Parameters

Parameter

Description

total <0-99999>

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.

  • Range: 1 - 99999 MB
  • Default: 1000 MB

per_process <0-99999>

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.

  • Range: 1 - 99999
  • Default: 2

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:

  • 1 core dump for program "A"
  • 2 core dumps for program "B"
  • Core dump 3 for program "B" is deleted because of the per-process limit.