Skip to content

Disk or inodes full

When: doctor or an alert reports a filesystem over 85 % (blocks or inodes), or customers report write errors.

  1. df -h / and df -i / — which one, and how full.
  2. Per account: WHM > Server Status > top consumers, or flypanel account usage NAME for one account.
  3. Common causes and fixes:
    • an account at its own quota only affects itself; contact the customer or raise its package;
    • logs: journalctl --disk-usage; journalctl --vacuum-time=14d if large;
    • the mail queue: flypanel mail queue list; a spam run from a compromised account — suspend it (flypanel account suspend NAME --reason "spam"), then flypanel mail queue delete ID... for its messages;
    • old backup staging after a crash: FlyPanel sweeps exports older than a day on the next export; do not delete /var/lib/flypanel-backup by hand.
  4. Never delete inside /var/lib/flypanel, /var/lib/mysql or an account’s home by hand.

It worked when: both df numbers are under 85 % and doctor is clean. Escalate when: the root filesystem passes 95 %, or the growth is in MariaDB or /var/lib/flypanel.