disk space usage difference in WHM and CPanel

prodigious

Member
Feb 7, 2005
17
0
151
Hello there,

I did some research before posting this but couldn't quite find a thread that explains what all could be the main reason for a discrepancy between what CPanel reports as disk space usage vs. what WHM does.

One of my clients has about a 150 MB difference and wants to know what the deal is. I know that any file owned by 'nobody' doesn't go towards CPanel's quota report, but what else could cause it - as this client doesn't have many files with that kind of ownership.

Thanks,
Mike
 

asiams

Well-Known Member
May 28, 2003
89
0
156
Hokkaido, JAPAN
mail box?

Sometimes, mailbox holds unowned mails. You should check for his mail boxes. He can have blackhole or some other system owned email sent through his mail box.

Hope this is the case.
 
Sep 9, 2010
5
0
51
Concrete Jungle - Brazil
Hello There!


We're facing the same issue here...
Is there any other idea about this situation?
In our case, there are a lot of clients complaining about this.

Look at that, like an example:
Espaço em Disco 0.05 / 200 MB

[email protected] [$$$$$]# du -chs *
0 access-logs
4.0K cpbackup-exclude.conf
40K etc
1.1M mail
8.0K public_ftp
31M public_html
1.3M tmp
0 www
33M total


We said that the atualizations happens after midnight everyday, but it was said a few days ago, we asked the client to wait for that atualization, but the same problem happens...


So, as I told above, can someno help us here?
It's not right to find out what the archive don't belong to the costumer in question,,, I mean, if there are a lots of costumers, as in our case here, we'll waste all of our time finding out/working out on this question.

Does someone have another idea here about this issue?

Thanks in advance!
 

usman43

Member
May 16, 2008
21
0
51
One of my clients has about a 150 MB difference and wants to know what the deal is
An account's size is composed of user root directory size + size of its databases i.e size of /home/USER + /var/lib/mysql/USER_* . Most of the time when clients see the difference between what cpanel disk usage reports and the actual sum of there files/folders , they miss the database size as database do not reside in user home directory. If you do the sum I am sure it will be same as shown by cPanel disk usage.


We said that the atualizations happens after midnight everyday, but it was said a few days ago, we asked the client to wait for that atualization, but the same problem happens.
Log in to WHM and from WHM >> Server Configuration >> Tweak Settings under 'Stats and Logs' increase the CPU's for option "Extra CPUs for server load" , if the load on the server is higher than this limit the stats process is suspended until the load lowers than the specified limit.
 

nightfall_sg

Active Member
Apr 15, 2004
39
0
156
cPanel Access Level
Root Administrator
I have a slight variation to this problem.

In a client's mail accounts page, I see an account that shows it has 96M of mail space used

In the Disk Space Usage report page, I zoom down to that same account and it shows that it is using 242M of mail space.

Why is there a difference? Not all mail accounts are reported wrongly.
 

usman43

Member
May 16, 2008
21
0
51
I have a slight variation to this problem.

In a client's mail accounts page, I see an account that shows it has 96M of mail space used

In the Disk Space Usage report page, I zoom down to that same account and it shows that it is using 242M of mail space.

Why is there a difference? Not all mail accounts are reported wrongly.
Do 'du -ach --max-depth=1 /home/USER/mail/DOMAIN.TLD/EMAIL_ACCOUNT' and check how much you have in 'Junk' folder.

* USER = cPanel account username
* DOMAIN.TLD = your actual domain name
* EMAIL_ACCOUNT = first part of email address i.e before '@DOMAIN.TLD'