When I do a software update (Ubuntu upgrade) and e.g. install new Linux kernels, sometimes I run out of space, which is a BAD THING. This is on Ubuntu Bionic 18.04, with systemd, so journald is installed.
Journald is configured by default to preserve 15% of the space on the drive for other processes (
SystemKeepFree), and use a max of 10% of the space (
SystemMaxUse). But it is often over those values.
So what triggers a vacuuming operation?
How can we get it to quickly clean up space when another operation needs it?
Is there a way to search journald for previous cleanup actions - are they logged?
Note that the grep capability is missing - why? (And see Ubuntu bug 1751657)
$ journalctl --grep journald Compiled without pattern matching support