Re: Problem with /var
On Fri, 7 Mar 2025,
Chris Green wrote:
-------------------
"THe systemd journal file defaults for length of time they are kept and
maximum size etc. are OK[ish] for systems with lots of disk space but
are far too large for smaller systems.
On systems I have with limited space I modify
/etc/systemd/journald.conf
to reduce disk usage, I set the SystemMaxUse and MaxRetentionSec
parameters."
--------------------
I have a 10Gb /var partition 46.9% full (was over 57% full before doing
sudo apt-get clean).
What would reasonable values be for the SystemMaxUse and
MaxRetentionSec parameters?
Also, a big chunk of /var is taken up by
/var/lib/flatpak/repo/objects,
which takes up 2.5Gb of the 10 Gb /var.
Note: I only use very few flatpaks, just Flatseal, LibreWolf, and DB
Browser for SQLite, and some system stuff not user added.
So I don't know why /var/lib/flatpak/repo/objects
takes up so much space.
Can /var/lib/flatpak/repo/objects safely be trimmed in order to save
space?
Reply to: