[systemd-devel] Journald retaining logs for only 10 days

Reindl Harald h.reindl at thelounge.net
Sat Nov 14 20:52:54 UTC 2020



Am 14.11.20 um 21:29 schrieb Vito Caputo:
>> [Journal]
>> SystemMaxUse=300M
>>
> 
> One thing to consider is journald allocates space per-file in 8MiB
> increments.
> 
> On my laptop for example, there are 27 user journals, 8MiB each, where
> the last object offset is around 2MiB.  This alone burns ~162MiB in
> allocated but unused space.
> 
> We should probably have some lower level tooling for scrutinizing the
> journal files and reporting how much of the space is actually used vs.
> fallocated.

yaeh, i own "full blown" setups using 500 MB for the OS and the complete 
workload.....


More information about the systemd-devel mailing list