Every hosting account has a fixed share of disk space. When you reach it, your site can still read files, but anything that needs to write fails. That’s why the problem surfaces in odd places: an image upload in WordPress, a login session that won’t save, a plugin update, incoming mail.
Where you’ll see it
- In the PHP error log:
file_put_contents(...): Failed to open stream: Disk quota exceeded. - In WordPress:
Could not create directory, failed updates, failed media uploads. - In a terminal:
write error: Disk quota exceededwhile extracting an archive or runningnpm install. - For visitors: 500 errors, forms that don’t save, logins that don’t stick.
If you still have space and see this error, the cause is usually the number of files rather than their size; see inode limit reached.
Common causes
- Old backups inside the account:
backup-*.tar.gzfiles, or plugin backup folders such aswp-content/updraftandwp-content/ai1wm-backups. - Huge
error_logfiles in site folders, fed by an error that repeats thousands of times. - Email: mailboxes holding years of messages and attachments.
- Cache folders such as
wp-content/cache. - Developer leftovers:
node_modules, the npm cache in~/.npm, the pip cache in~/.cache/pip. - File Manager’s trash (the
.trashfolder): deleted files keep using space until the trash is emptied. - Large, uncompressed images and media.
How to fix it
1. Find where the space went
Open cPanel → Files → Disk Usage. It lists the size of every folder; sort by size and drill into the biggest. The stats bar shows Disk Usage and File Usage side by side.
If your plan includes SSH:
du -sh ~/* ~/.[!.]* 2>/dev/null | sort -h | tail -15
find ~ -type f -size +100M -exec ls -lh {} \; 2>/dev/null
find ~/public_html -name error_log -size +5M
2. Delete what you don’t need
- Download old backups to your computer, then delete them from the account.
- Read the last lines of large
error_logfiles, fix the error that’s filling them, then delete them. - Clear cache from your caching plugin’s settings rather than deleting folders by hand while the site is live.
- On developer accounts:
npm cache clean --forceandpip cache purge, and removenode_modulesfrom projects you no longer run.
3. Empty the trash
In File Manager, click View Trash, then Empty Trash. People often miss this and wonder why usage didn’t drop.
4. Clean up email
In cPanel → Email → Email Disk Usage, pick a mailbox and delete messages older than a chosen age, or clear Spam and Trash. If one mailbox is full against its own quota, senders see a different error; see 552 mailbox full.
5. If the usage is real
If the data is content you actually need, the fix is a plan with more space. Estimate what you need with the hosting calculator.
Prevention
- Don’t keep backups inside the same account, and set backup plugins to keep only a few copies.
- Fix recurring errors instead of letting
error_loggrow. - Compress images before uploading them.
- Check Disk Usage monthly, especially on stores that upload many product photos.
On ArabyHost
Per-account disk and file-count limits depend on your plan; compare them on the pricing page. Your account is backed up daily with JetBackup, so there’s no need to pile extra backup archives inside it. Open cPanel with one click from the Araby Panel to reach Disk Usage and File Manager (see the File Manager guide), and if you’re not sure which process is failing, the Araby AI assistant reads your error logs and explains the cause.
FAQ
Why do I get this error when my disk isn't full?
There's a second limit: the number of files (inodes). Hitting it produces the same error even with free space. Check File Usage in cPanel; if it's near the limit, the problem is file count, not size.
Does email stop when the disk is full?
Usually, yes. Incoming messages need space to be stored, so they may bounce back to the sender until you free space in the account or in that mailbox.
Will the site work again as soon as I delete files?
Yes. As soon as usage drops below the limit, writes succeed again. You may only need to clear the site's cache or retry whatever failed.