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>
This commit is contained in:
Eric MacDonald 2021-07-20 18:54:14 -04:00
parent f7c7382343
commit 74bfeba7d3

View File

@ -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