systemd journal using too much disc space
Oliver Grawert
ogra at ubuntu.com
Thu Jun 22 13:26:55 UTC 2017
hi,
Am Donnerstag, den 22.06.2017, 09:18 +0100 schrieb Colin Law:
> I note that the files in /var/log/journal are consuming 2.9GB and
> journalctl --disk-usage
> also shows 2.9GB. Since this is on Ubuntu 17.04 installed in an 80GB
> partition on an SSD this is a significant chunk of my free disc
> space.
> As far as I can see journalctl is using its default values as there
> are no commented out settings in /etc/systemd/journald.conf and I
> cannot see any overriding conf files.
>
> I see how to adjust the settings for this but am surprised the
> default
> is so large. For example if I run
> journalctl -u systemd-resolved.service
> I see 70,000 lines going back over 9 months which seems a bit
> excessive.
>
> Is what I am seeing to be expected for the default settings?
>
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
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170622/e84ef3ee/attachment.sig>
More information about the ubuntu-users
mailing list