When a server runs out of disk space, many services will stop functioning correctly.
Sites may stop loading, emails stop receiving or sending, or databases become unavailable.
A typical error message is shown below.
The filesystem mounted at / on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.
Check Disk Space
IMPORTANT: The following steps can only be completed on VPS or Dedicated hosting plans. These steps cannot be followed on shared hosting plans.
- SSH into the server as the Root user
- Run
df -h
to confirm that the disk is reaching capacity - Change directories to the root directory by running
cd /
- Run
/opt/dedrads/du-tree
to see which directories are using the most disk space under your current directory - Run
sudo du-tree /backup
to confirm the amount and size of backups - After identifying large files, delete any unnecessary files that can be safely removed
- If there are no files that can be removed, consider upgrading plans to a plan with more disk space
Comments
0 comments
Article is closed for comments.