Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase the maximum journal size from 4GB to 10GB #25

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

Dunedan
Copy link
Collaborator

@Dunedan Dunedan commented Apr 4, 2024

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.

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.
@Dunedan Dunedan merged commit 23531c7 into 0ad:master Apr 18, 2024
1 check passed
@Dunedan Dunedan deleted the increase-journal-size branch April 18, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant