journald: Limit system journal size to 10M
authorHyeongsik Min <hyeongsik.min@samsung.com>
Wed, 30 Nov 2016 07:33:22 +0000 (16:33 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 26 Jan 2024 16:49:49 +0000 (17:49 +0100)
commit085bdc2f78f282825aaba2f3474065d14a648c5c
tree5c908f62e493ef3548ca0843d5b769280239094f
parent67c5cf25580523e82d03d26c1ff4d4cf00104050
journald: Limit system journal size to 10M

In v219, journald implicitly limits system journal(/var/log/journal) size
to 8MB(twice of the minimum journal file size) with SystemMaxUse=0 setting.
But in v231, journald doesn't stop allocating when max_use is 0.

Change-Id: I6b36320191fcc69d5b45cfec5b27a462d0ab8310
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
src/journal/journald.conf