about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-02-06 13:26:35 +0100
committerGitHub <noreply@github.com>2024-02-06 13:26:35 +0100
commit7c0a1290767428e9381541adf94bf5067fe37189 (patch)
tree432c97e692e13e48ed74908182f89f3d5a2626fd /nixos
parent98a0d85301586969548be5bbd540851d0ffc9655 (diff)
parentfed5af2d157c56fc79baa24287e8eaf1ce4798db (diff)
downloadnixlib-7c0a1290767428e9381541adf94bf5067fe37189.tar
nixlib-7c0a1290767428e9381541adf94bf5067fe37189.tar.gz
nixlib-7c0a1290767428e9381541adf94bf5067fe37189.tar.bz2
nixlib-7c0a1290767428e9381541adf94bf5067fe37189.tar.lz
nixlib-7c0a1290767428e9381541adf94bf5067fe37189.tar.xz
nixlib-7c0a1290767428e9381541adf94bf5067fe37189.tar.zst
nixlib-7c0a1290767428e9381541adf94bf5067fe37189.zip
Merge pull request #256652 from giorgiga/rateLimitBurst-documentation
Clarify journal size limit defaults in documentaiton of services.journald.rateLimitBurst
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/systemd/journald.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd/journald.nix b/nixos/modules/system/boot/systemd/journald.nix
index 9a8e7d592603..62e24a305dde 100644
--- a/nixos/modules/system/boot/systemd/journald.nix
+++ b/nixos/modules/system/boot/systemd/journald.nix
@@ -56,7 +56,9 @@ in {
         journald.conf(5)](https://www.freedesktop.org/software/systemd/man/journald.conf.html).
 
         Note that the total amount of logs stored is limited by journald settings
-        such as `SystemMaxUse`, which defaults to a 4 GB cap.
+        such as `SystemMaxUse`, which defaults to 10% the file system size
+        (capped at max 4GB), and `SystemKeepFree`, which defaults to 15% of the
+        file system size.
 
         It is thus recommended to compute what period of time that you will be
         able to store logs for when an application logs at full burst rate.