Problem:
Plesk is running out of space
Solution:
- SSH into the server
- Run du -h to see what’s eating up space
- Or run du -sh * | sort -rh per folder to narrow down the file size
(du -x / |sort -rnb |more)
- In this case, it was /var/log file
- I found a log file called modsec_audit.log-202010120.gz
- Deleted the file
- Do not delete modsec_audit.log
Update (2022)
The journal file was 4.3GB
Run this: journalctl –disk-usage (it’ll tell you how large the journal is)
Run this: journalctl –vacuum-size=200M (it’ll clean up the journal)