Prevent log and cache files from growing out of control #76
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It looks like our disk space is being rapidly eaten up by log files like
/var/log/nginx/access.log
and cache files. Let's try to prevent them from growing so quickly.8d0daabe13
should help for stoppping the nginx logs from growing out of control.For some reason, I had
debug_level = 9
set in/etc/sssd/sssd.conf
which was causing SSSD to create a huge amount of log data. Now it's fixed.If we need to free up more space,
tootctl media remove
will delete the Mastodon cache,paru -Scc
deletes the Paru cache, andsudo rm /var/lib/systemd/coredump/*
deletes core dumps.