Re: Journald retaining logs for only 10 days

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 14 2020, Andrei Borzenkov <arvidjaar@xxxxxxxxx> wrote:
> 14.11.2020 14:32, Nikolaus Rath пишет:
> ...
>>>>
>>>> # grep -vE '^#' /etc/systemd/journald.conf
>>>>
>>>> [Journal]
>>>> SystemMaxUse=300M
>>>
>>> The number shown by disk usage (320 MB) is higher than 300 MB. Maybe also check the files
>>> in `/var/log/journal`.
>> 
>> It's a bit bigger on disk too:
>> 
>> # du -hs /var/log/journal
>> 321M	/var/log/journal
>> 
>> journalctl --verify does not find any errors.
>> 
>> 
>> Could that be related to the short retention, or is this an unrelated problem?
>> 
>
> It is not a "problem". You told journald to keep 300M of data and it
> does exactly that.

Hu? As far as I can tell, I told it to keep 300 MB and it's using 320
MB. Furthermore, in these 320 MB it seemingly only stored 27 MB worth of
log data.


Best,
-Nikolaus

-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux