]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: Improve text for SystemMaxFileSize when not set
authorAndré Paiusco <2374887+Paiusco@users.noreply.github.com>
Tue, 31 Oct 2023 14:25:01 +0000 (15:25 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 1 Nov 2023 10:41:24 +0000 (10:41 +0000)
If one sets the SystemMaxUse=64G by the current documentation would expect that each files size would be around 1/8 of this value (8G), althought if the SystemMaxFileSize is not explicit set, it has a max of 128M per file.

man/journald.conf.xml

index 6b7280781bc396a6c540029cbc602430953dd4ee..1c0487a4fc6d205009463a5c0c096e4d1557cf18 100644 (file)
         <para><varname>SystemMaxFileSize=</varname> and <varname>RuntimeMaxFileSize=</varname> control how
         large individual journal files may grow at most. This influences the granularity in which disk space
         is made available through rotation, i.e. deletion of historic data. Defaults to one eighth of the
-        values configured with <varname>SystemMaxUse=</varname> and <varname>RuntimeMaxUse=</varname>, so
-        that usually seven rotated journal files are kept as history. If the journal compact mode is enabled
-        (enabled by default), the maximum file size is capped to 4G.</para>
+        values configured with <varname>SystemMaxUse=</varname> and <varname>RuntimeMaxUse=</varname> capped
+        to 128M, so that usually seven rotated journal files are kept as history. If the journal compact 
+        mode is enabled (enabled by default), the maximum file size is capped to 4G.</para>
 
         <para>Specify values in bytes or use K, M, G, T, P, E as units for the specified sizes (equal to
         1024, 1024², … bytes). Note that size limits are enforced synchronously when journal files are