raise journal size for high log volume servers

This commit is contained in:
Daniel Micay 2024-03-01 10:05:39 -05:00
parent 16e3df0c39
commit d8b70fce4f
2 changed files with 16 additions and 1 deletions

View File

@ -33,6 +33,21 @@ declare -Ar hosts_journald_system_max_use=(
[7.releases.grapheneos.org]=8G [7.releases.grapheneos.org]=8G
) )
declare -Ar hosts_journald_system_max_file_size=(
[0.grapheneos.network]=512M
[1.grapheneos.network]=512M
[2.grapheneos.network]=512M
[3.grapheneos.network]=512M
[0.releases.grapheneos.org]=256M
[1.releases.grapheneos.org]=256M
[2.releases.grapheneos.org]=256M
[3.releases.grapheneos.org]=256M
[4.releases.grapheneos.org]=256M
[5.releases.grapheneos.org]=256M
[6.releases.grapheneos.org]=256M
[7.releases.grapheneos.org]=256M
)
declare -Ar hosts_journald_max_retention_sec=( declare -Ar hosts_journald_max_retention_sec=(
[ns1.staging.grapheneos.org]=4day [ns1.staging.grapheneos.org]=4day
[ns1.grapheneos.org]=4day [ns1.grapheneos.org]=4day

View File

@ -26,7 +26,7 @@
#RateLimitBurst=10000 #RateLimitBurst=10000
SystemMaxUse={{journald_system_max_use}} SystemMaxUse={{journald_system_max_use}}
#SystemKeepFree= #SystemKeepFree=
#SystemMaxFileSize= SystemMaxFileSize={{journald_system_max_file_size}}
SystemMaxFiles=10000 SystemMaxFiles=10000
#RuntimeMaxUse= #RuntimeMaxUse=
#RuntimeKeepFree= #RuntimeKeepFree=