Plesk server running out of space

Problem:

Plesk is running out of space

Solution:

  1. SSH into the server
  2. Run du -h to see what’s eating up space
  3. Or run du -sh * | sort -rh per folder to narrow down the file size
(du -x / |sort -rnb |more)
  1. In this case, it was /var/log file
  2. I found a log file called modsec_audit.log-202010120.gz
  3. Deleted the file
  4. 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)