From 74bfeba7d38dddf5820b2e341f5d3c5e49282a9e Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Tue, 20 Jul 2021 18:54:14 -0400 Subject: [PATCH] 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 --- mtce/src/scripts/crashDumpMgr.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtce/src/scripts/crashDumpMgr.service b/mtce/src/scripts/crashDumpMgr.service index 73d89dcd..bec36c04 100644 --- a/mtce/src/scripts/crashDumpMgr.service +++ b/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