nixos/systemd: update rateLimitBurst documentaion.

This updates the documentation for the services.journald.rateLimitBurst
option, clarifying that the journal size limit may very well default to
a lot less than 4GB with small disks or disk with not much free space
(eg: virtualized machines)
This commit is contained in:
Giorgio Gallo 2023-09-22 11:04:07 +02:00
parent 4f0c801966
commit fed5af2d15
No known key found for this signature in database

View file

@ -43,7 +43,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.