Scenario 1:
Cause - Web Space Overage
- Step 1: If you are facing the disk quota exceeded error as a result of exceeding the subscription limit in the web space, then try to clear some unwanted large files in the home directory.
- Step 2: If large files are present in the following locations, clear them.
- Step 3: Trash or spam mail folders
- Step 4: Web app log files
- Step 6: Old compressed backups
- Step 7: Un-used web applications
Scenario 2
Cause - Corrupted Disk Quota Table
- Step 1: To fix the error, locate the affected partition and disable quota
- Step 2: Stop the mail, web, and FTP services.
- Step 3: Use the ‘quotacheck’ command to create the quota table again.
- Step 4: Note: You can even fix disk quota in cPanel servers.
- Step 5: Go back to the affected partition and enable quota again.
Scenario 3
Cause - File Limit (Inode) Exhaustion
Most of the disk quota exceeded error is caused by VPS’s hitting file limit. Linux uses inodes to keep track of each file. Each VPS or server has only a limited number of inodes. If all the inodes are used, you cannot create new files.
- Step 1: Some of the causes of the inode exhaustion are listed here for your reference.
- Step 2: Undelivered spam mails
- Step 3: Multiple versions of uncompressed backups
- Step 4: Accumulated mails in Catch-all mail boxes
- Step 5: Old cache files
- Step 6: Undeleted PFP session files
Solution
- Step 1: To identify the folders having the maximum number of files, use a top-down scan.
- Step 2: After scanning, remove all the junk files.
- Step 3: Note: All the services might be stuck virtually if you have used all the inodes. To restore the stuck services, move some of the non-critical folders to another partition. It will prevent mail bouncing.
- Step 4: To get technical assistance in resolving the disk quota error, contact our support member.