From 8b0b9003754ae5c3dad1eddb41c2bf54a28d6476 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Thu, 23 Jan 2025 03:08:33 -0600 Subject: [PATCH] Alright clearly hard memory limits are working against us here --- roles/backup/templates/backup.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/backup/templates/backup.service b/roles/backup/templates/backup.service index 2ff483d..8f7c2a7 100644 --- a/roles/backup/templates/backup.service +++ b/roles/backup/templates/backup.service @@ -8,7 +8,8 @@ StartLimitBurst=5 [Service] Type=oneshot -MemoryMax=512M +#MemoryMax=512M +Environment="GOGC=20" ExecStart=/opt/backup.sh Restart=on-failure RestartSec=5