How7o
  • Home
  • Tools
  • Prank Screens
  • Learn
  • Blog
  • Contact
Reading: How to Fix Quotas in cPanel
Share
How7oHow7o
Font ResizerAa
  • OS
Search
  • Home
  • Tools
  • Prank Screens
  • Learn
  • Blog
  • Contact
Follow US
© 2024–2026 How7o. All rights reserved.
How7o > Free Laravel, PHP, WordPress & Server Tutorials > Server Management > How to Fix Quotas in cPanel
Server Management

How to Fix Quotas in cPanel

how7o
By how7o
Last updated: May 22, 2026
5 Min Read
Fix broken cPanel disk quotas with the fixquotas script
SHARE

To fix broken quotas in cPanel when users see “your account may be over its quota” despite having free space, run /usr/local/cpanel/scripts/fixquotas as root over SSH. It rebuilds the kernel quota database from actual file ownership and clears the stale state that’s making cPanel report wrong usage.

Contents
  • The quick fix — fixquotas
  • Before fixquotas — verify the configuration
  • CloudLinux: INODES is a separate cap
  • Verifying the fix worked
  • Frequently asked questions
  • Related guides
  • References

Last verified: 2026-05-17 on cPanel & WHM 118 with CloudLinux 8. Originally published 2023-12-12, rewritten and updated 2026-05-17.

The quick fix — fixquotas

sudo /usr/local/cpanel/scripts/fixquotas

SSH in as root (or use sudo), run the script, wait for it to finish. The script remounts the filesystems with quotas enabled, scans the home filesystems’ inode ownership, and rebuilds the aquota.user / aquota.group files. Once it’s done, the cPanel disk-usage indicator updates to match reality.

Fix cPanel quotas — fixquotas script, package quota check, CloudLinux INODES

Before fixquotas — verify the configuration

  1. Confirm the home filesystem is mounted with quotas on.
    mount | grep -E 'usrquota|grpquota'
    If /home isn’t in the output, edit /etc/fstab to add usrquota,grpquota to its mount options, then mount -o remount /home.
  2. Check the package’s quota and inode limits in WHM. Home → Packages → Edit a Package — set the Disk Quota high enough to match what you sold the customer, and on CloudLinux servers set INODES to a sensible value (10,000–100,000 is common per account).
  3. Confirm the user account isn’t actually full. WHM → List Accounts shows current disk and inode usage; compare to the package limits.

CloudLinux: INODES is a separate cap

If you run CloudLinux on the cPanel server, the inode limit (number of files) is enforced separately from disk-space quota. An account with 5 GB free can still be blocked from uploading a single tiny file when it hits the inode cap — and the error message is identical to “over quota.” Check WHM → Packages → Edit a Package → Resource Limits → INODES and raise the limit if needed.

Verifying the fix worked

# Show quota usage for a specific user
sudo quota -u username

# Show every user's usage on /home
sudo repquota /home

The reported usage should match what du -sh /home/username shows. If the numbers still disagree by a wide margin, the quota database is still stale — re-run fixquotas with an explicit force flag (--force) or reboot the server during a maintenance window.

Frequently asked questions

Why do users see “may be over its quota” when the account has free space?

cPanel reads disk usage from the kernel quota system, not from du. If the quota database (aquota.user) is stale, corrupted, or the file system was mounted without quotas, cPanel will report the wrong number even though the disk is fine. The fixquotas script rebuilds the quota database from actual file ownership, which clears stale states.

Does fixquotas need the server to be in maintenance mode?

No, it runs on a live server. The script remounts the relevant filesystems with quotas on, scans inode ownership, and rebuilds the user/group quota files. It can take minutes on a busy server with many small files. Users will not be kicked off; their upload errors clear as soon as the rebuild finishes.

What if fixquotas doesn’t change anything?

Check three things: (1) the home filesystem is actually mounted with quotas — mount | grep quota should show usrquota/grpquota; (2) the package’s quota and inode limits are higher than the user’s actual usage in WHM → Modify an Account; (3) on CloudLinux servers, inode limits (LVE/CageFS) are a separate cap — set INODES properly in WHM → Packages or per-account.

Is this safe to run via cron on a schedule?

Most operators don’t — fixquotas is meant as a remediation tool, not a scheduled task. Running it nightly hides the underlying cause (filesystem mounted wrong, package misconfiguration). Fix the root cause and run fixquotas once. If you genuinely need recurring runs, cap it to weekly and watch the server’s logs for the trigger.

Related guides

  • How to Add a User to CageFS in CloudLinux cPanel
  • How to Access aaPanel Using a Domain and SSL
  • How to Retrieve the MySQL Root Password in aaPanel

References

cPanel fixquotas: docs.cpanel.net/whm/server-configuration/disk-quotas. CloudLinux INODES: docs.cloudlinux.com/lve_manager. Linux quota tools: man quota, man repquota.

TAGGED:CloudLinuxconfigurationcPanelLinux

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
[mc4wp_form]
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Copy Link Print
Previous Article Diagnose MySQL 100% CPU usage with PROCESSLIST and INNODB STATUS How to Find What’s Pinning MySQL at 100% CPU
Next Article Reduce high memory usage on Windows 11 How to Reduce High Memory Usage on Windows 11
Leave a Comment

Leave a Reply Cancel reply

You must be logged in to post a comment.

FacebookLike
XFollow
PinterestPin
InstagramFollow
Most Popular
Run Laravel queue workers with Supervisor
How to Run Laravel Queue Workers in Production with Supervisor
May 23, 2026
Nginx as a reverse proxy for a Node.js app on Ubuntu
How to Set Up Nginx as a Reverse Proxy for Node.js on Ubuntu
May 23, 2026
Install and configure Redis on Ubuntu for Laravel and WordPress
How to Install and Configure Redis on Ubuntu (for Laravel & WordPress)
May 23, 2026
Harden a fresh Ubuntu VPS with UFW, Fail2Ban, and SSH key auth
How to Harden a Fresh Ubuntu VPS: UFW + Fail2Ban + SSH Key Auth
May 23, 2026
Set up Let's Encrypt SSL with Certbot on Ubuntu
How to Set Up Let’s Encrypt SSL with Certbot on Ubuntu (Apache & Nginx)
May 23, 2026

You Might Also Like

Install Node.js on Ubuntu — terminal with NodeSource setup_22.x curl command and Node.js hexagon icon
Web Development

How to Install Node.js on Ubuntu (22.04 & 24.04): Step-by-Step

11 Min Read
Diagnose MySQL 100% CPU usage with PROCESSLIST and INNODB STATUS
Server Management

How to Find What’s Pinning MySQL at 100% CPU

6 Min Read
Update Ubuntu to the latest kernel version
Server Management

Update Ubuntu to the Latest Kernel Version (Safe Server Steps)

5 Min Read
Reset the LiteSpeed WebAdmin Console password
Server Management

How to Reset the LiteSpeed WebAdmin Console Password

4 Min Read
How7o

We provide tips, tricks, and advice for improving websites and doing better search.

Tools

  • Age Calculator
  • Word Counter
  • Image Upscaler
  • Password Generator
  • QR Code Generator
  • See all tools→

Pranks

  • Fake Blue Screen Prank
  • Hacker Typer
  • Fake iMessage Generator
  • Windows XP Crash Prank
  • Windows 11 Update Prank
  • See all prank screens →

Company

  • About Us
  • Blog
  • Contact
  • Privacy Policy
  • Terms of Service
  • Sitemap
© 2024–2026 How7o. All rights reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?