1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

man: Improve text for SystemMaxFileSize when not set

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.
This commit is contained in:
André Paiusco 2023-10-31 15:25:01 +01:00 committed by Luca Boccassi
parent 4f7a629e6c
commit d397191b6d

View File

@ -285,9 +285,9 @@
<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