Skip to content

Commit

Permalink
Increase the maximum journal size from 4GB to 10GB
Browse files Browse the repository at this point in the history
As it turns out for the given log volume we have right now, 4GB is a
little bit too small to hold more than just a few days of logs, so let's
increase the limit for the journal size to be able to keep logs for
longer, if the underlying file system has enough free space.

Unfortunately journald doesn't support a relative size for
`SystemMaxUse`, so we have to use an absolute value here. However, as
`SystemKeepFree` is set as well, it's ensured journald doesn't fill up
the whole file system the journal is stored on.
  • Loading branch information
Dunedan committed Apr 4, 2024
1 parent 35e31c6 commit 339678f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/misc/files/journal-size.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[Journal]
SystemMaxUse=4G
SystemMaxUse=10G
SystemKeepFree=2G

0 comments on commit 339678f

Please sign in to comment.