whm using wrong storage calculation

retechpro

Well-Known Member
Dec 23, 2022
141
16
18
Pakistan
cPanel Access Level
Root Administrator
Hi,Anyone can help to fix this.


I’ve multiple reseller on server and one of the reseller facing issue. I’ve allocated 200gb storage and now his acc showing 720gb. Upon checking I’ve found there is no acc in his reseller that exceed 2gb. Where these 720gb are using?

According to him, he said, one of the acc that was 1gb. He was trying to install Wordpress and suddenly it show 634gb. He terminate the acc still acc storage is showing there.

What could he the reason behind it.
I’ve already run
/scripts/fixquotas —force

Nothing Happen. I’ve check all the cpanels in reseller but didn’t find anything.

Attaching 2 images.
I’ve checked in show reseller acc. This reseller have 96 cpanels.
 

Attachments

Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Running fixquotas would fix the disk quota in the user file, but it likely wouldn't update the interface as that is cached. We have to cache those values, as pulling disk usage in real-time from the system for every page load would use a large amount of resources.

You could confirm this behavior by running the following command, just replacing your username with the actual cPanel username of the account:

Code:
mv /home/username/.cpanel/datastore{,.bak-`date +%Y%m%d`}
That renames the cached files directory to datastore.bak.timestamp which isn't what cPanel expects to see. After that, try accessing the cPanel interface to see if the numbers change.
 

retechpro

Well-Known Member
Dec 23, 2022
141
16
18
Pakistan
cPanel Access Level
Root Administrator
Running fixquotas would fix the disk quota in the user file, but it likely wouldn't update the interface as that is cached. We have to cache those values, as pulling disk usage in real-time from the system for every page load would use a large amount of resources.

You could confirm this behavior by running the following command, just replacing your username with the actual cPanel username of the account:

Code:
mv /home/username/.cpanel/datastore{,.bak-`date +%Y%m%d`}
That renames the cached files directory to datastore.bak.timestamp which isn't what cPanel expects to see. After that, try accessing the cPanel interface to see if the numbers change.
I’ve mentioned, acc has been terminated. How can i access using username?