From fe55589a32325c28bd00238d1a50256925535db4 Mon Sep 17 00:00:00 2001 From: Bas Zoetekouw Date: Fri, 23 Feb 2024 11:54:33 +0100 Subject: [PATCH] journald config aangepast ivm performance zie https://github.com/systemd/systemd/issues/2460 --- roles/logging/templates/journald.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/logging/templates/journald.conf.j2 b/roles/logging/templates/journald.conf.j2 index f6849762c..b77fbf0ac 100644 --- a/roles/logging/templates/journald.conf.j2 +++ b/roles/logging/templates/journald.conf.j2 @@ -11,11 +11,11 @@ RateLimitBurst=10000 # Keep a maximum of 1GB on disk storage SystemMaxUse=1G SystemKeepFree= -SystemMaxFileSize=100M +SystemMaxFileSize=2G SystemMaxFiles=100 # split files every day, and keep message for max 2 weeks -MaxFileSec=1h +MaxFileSec=2day MaxRetentionSec={{journal_retention}} SyncIntervalSec=1m