Skip to main content

WHM List Accounts does not reflect the real usage of each account

Comments

4 comments

  • cPAdminsMichael
    Hi, You may want to run /scripts/fixquotas
    to refresh/fix your quota stats ;)
    0
  • HOXTIN
    Thank you Michael. Did that and only checks and re-applies the quotas assigned to each account, after which the issue continues and actual disk usage is incorrect, only showing space used by the files and does not add the space used by email accounts. As mentioned before, for one account: Assigned Disk Quota: 75 GB Email Disk Usage: 60 GB Files Usage: 35.5 MB (public_html and public_ftp) Current Disk Usage: 40 MB <--- as it is reflected in the WHM and the accounts cPanel And, as showed, should be at least 60 GB Hope you have an idea why... I am still looking around forums, blogs and more, and still nothing.
    0
  • cPanelLauren
    If you go to WHM>>Service Configuration>>Mailserver Configuration -> Include Trash in Quota what is set? Is the email disk usage primarily in the default account when you look or is it in other accounts? How are you determining what the actual disk usage is? I would suggest comparing running something like the following and comparing it to what is shown in the UI to double check the totals: For total mail usage per account: du -sch /home/$user/mail
    For a breakdown of usage allocation for an account: du -h --max-depth=1 /home/$user/mail
    0
  • HOXTIN
    Thanks Lauren Adapting the code, for one of the accounts, results in: [root@srv ~]# du -sch /hox/autobar/mail 83G /hox/autobar/mail 83G total [root@srv ~]# And checking System Health // Show Current Disk Usage was showing 42 MB I kept searching and found a post suggesting tu use: /scripts/upcp --force That made it! and full disk usage is shown in each hosting account. Attached image corresponds to the same account verified using the code after running /scripts/upcp --force
    0

Please sign in to leave a comment.