Skip to content
Server and cPanel3 min read

Fixing "Disk quota exceeded" on your hosting

Disk quota exceeded

Short answer

Your account has reached its storage limit, so the server refuses to write anything new: uploads, sessions, cache files, even incoming email. Find the largest folders in cPanel's Disk Usage, delete old backups, logs and cache, or move to a plan with more space.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Where you’ll see it
  2. Common causes
  3. How to fix it
  4. Prevention
  5. On ArabyHost

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 exceeded while extracting an archive or running npm 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.gz files, or plugin backup folders such as wp-content/updraft and wp-content/ai1wm-backups.
  • Huge error_log files 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 .trash folder): 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_log files, 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 --force and pip cache purge, and remove node_modules from 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_log grow.
  • 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.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.