systemd journal using too much disc space

Colin Law clanlaw at gmail.com
Thu Jun 22 15:09:32 UTC 2017


Thanks Tom and Oliver. As I posted it was that fact that I had
forgotten that I had enabled disc logging (by creating the directory)
that caused it to be using disc in the first place. I had missed the
fact that it will leave a percentage of disc free, so presumably if I
had started getting low on space it would automatically have cut down
its usage, which, it has to be admitted, makes it remarkably well
behaved s/w.

Cheers

Colin

On 22 June 2017 at 14:36, Tom H <tomh0665 at gmail.com> wrote:
> On Thu, Jun 22, 2017 at 9:26 AM, Oliver Grawert <ogra at ubuntu.com> wrote:
>>
>> since ubuntu does not set journald to logging to disc by default, there
>> are no size options set (for ram logging the builtin defaults are
>> fine).
>>
>> if you enable logging to disc you should likely also adjust the file
>> size values in /etc/systemd/journald.conf
>
> IIRC, by default, the journald files don't grow to more than 10% of
> the filesystem where "/var/log/journal/" is and they have to leave at
> least 15% of that filesystem free.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list