Browse Source

Increase maximum preserved crash dump vmcore file size to 5Gi

The current crashDumpMgr service has several filesystem
protection methods that can result in the auto deletion
of a crashdump vmcore file. One is a hard cap of 3Gi.

This max vmcore size is too small for some applications.
Crash dump vmcore files can get big with servers that have
a lot of memory and big apps.

This update modifies the crashDumpMgr service file
max_size override to 5Gi.

Test Plan:

PASS: Verify change functions as expected
PASS: Verify change is inserted after patch apply
PASS: Verify crash dump under-size threshold handling
PASS: Verify crash dump over-size threshold handling
PASS: Verify change is reverted after patch removal

Change-Id: I867600460ba9311818ace466986603f5bffe4cd7
Closes-Bug: 1936976
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
changes/45/801545/2
Eric MacDonald 2 months ago
parent
commit
74bfeba7d3
  1. 2
      mtce/src/scripts/crashDumpMgr.service

2
mtce/src/scripts/crashDumpMgr.service

@ -6,7 +6,7 @@ Before=sshd.service
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/etc/init.d/crashDumpMgr --max-size 3Gi
ExecStart=/etc/init.d/crashDumpMgr --max-size 5Gi
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save