A reseller calls in: a customer cannot upload a file, “Disk Quota Exceeded.” The reseller checks the cPanel account quota — well under the limit. The reseller’s own WHM dashboard shows usage below the package size. Both numbers look fine, yet writes are being refused. The mismatch comes from how WHM treats reseller quotas as two independent ceilings.
What’s happening
A reseller in WHM has two quota layers. The first is the resource pool assigned under “Reseller Center → Edit Reseller Nameservers and Privileges & Set Resource Limits”: total disk and bandwidth the reseller can allocate across all of their accounts. The second is the per-account package quota set on each individual cPanel account. The kernel enforces only the per-account quota — the reseller pool is enforced by WHM at account-creation and modification time. If the per-account quotas sum to more than the reseller’s pool, accounts can be created over the pool, and the reseller’s accounting will silently go negative. If the package quota is set to 0 (unlimited) but the reseller’s pool is finite, the new account inherits no usable limit and the next account creation may fail with a vague error.
How to verify
whmapi1 listresellers
whmapi1 listaccts searchtype=owner search=RESELLER
whmapi1 fetchresellersopts user=RESELLER | grep -iE "diskquota|bw"
Then check actual disk against quota for one of the reseller’s accounts:
quota -u USER
repquota -avs | grep -E "^USER "
A repquota value at or above the user’s hard limit is the kernel refusing the write. A reseller pool exhausted in WHM but unenforced by the kernel produces the opposite problem: accounts keep writing, the reseller’s “available disk” goes negative, and account creation breaks.
In WHM: Reseller Center → View Reseller’s Accounts shows the pool math. If “Disk Used” exceeds “Disk Quota,” the pool is oversold.
The fix
- Set the reseller’s resource pool to the actual contractual ceiling — not “unlimited.” Unlimited at the reseller layer disables every guardrail WHM has against oversell.
- Build packages with finite per-account disk quotas. A 0 (unlimited) account under a finite reseller pool is the configuration that produces silent failures.
- The sum of all of the reseller’s package quotas should equal or stay under the reseller pool. Run
whmapi1 listaccts searchtype=owner search=RESELLER | jq '[.data.acct[].diskquota | tonumber] | add'to check. - Enable “Prevent the reseller from creating new accounts when their disk space limit is reached” so creation fails fast instead of corrupting accounting.
- For accounts already over-quota, raise the package limit first, then move data — moving data against a kernel quota lock will fail.
The kernel and WHM disagree about who enforces what. Configure both layers consistently or pick the one source of truth for your shop.
If overselling the reseller pool is a recurring incident, that is a packaging policy problem — covered under Deployment Management. Schedule a review.