The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

disk space usage difference in WHM and CPanel

Discussion in 'General Discussion' started by prodigious, Feb 12, 2010.

  1. prodigious

    prodigious Member

    Joined:
    Feb 7, 2005
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. asiams

    asiams Well-Known Member

    Joined:
    May 28, 2003
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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.
     
  3. cristianomirand

    Joined:
    Sep 9, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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

    root@linux [$$$$$]# 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!
     
  4. cristianomirand

    Joined:
    Sep 9, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Concrete Jungle - Brazil
    Greetings!


    Someone here know something new about this issue?
    I mean, someone here can help to solve that question?

    Thanks in advance!
     
  5. usman43

    usman43 Member

    Joined:
    May 16, 2008
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    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.


    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.
     
  6. nightfall_sg

    nightfall_sg Active Member

    Joined:
    Apr 15, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  7. usman43

    usman43 Member

    Joined:
    May 16, 2008
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    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'
     
Loading...

Share This Page