KNOWNHOST WIKI

User Tools

Site Tools


Action disabled: source
control-panels:cpanel-whm:how-to-find-cpanel-other-disk-usage

cPanel Account's Other Disk Usage


cPanel's Disk Usage interface displays the disk usage as consumed via email accounts, sites, databases, logs, etc. It also contains a value for 'other usage'.

Sometimes this value can be quite large and you may need to identify exactly what this 'other' usage is so that you can clear disk space.

To find the disk usage used by the account within the account's root directory:

du -hHsh /home/username

Because the account stores data outside of the account's root directory, such as data in /tmp, Mailman archives, backups, etc., the "Other Usage" section exists to show this data.

NOTE: Trash is also counted under "Other Usage" as well (both email trash and account trash), even though this exists under the user's root directory, so be sure to check the size of this and add it to whatever you find outside the user's root directory.

du -Hhsc /home/username/.trash
du -Hhsc /home/username/mail/*/*/.Trash/

To find these files located outside the cPanel user's root directory, you can use the following command:

find / -user $USERNAME -not -path "/home/$USERNAME*" -exec du -Hhs '{}' \; > otherdiskusage.txt

You can then check the file otherdiskusage.txt to see what is consuming this space.

If you find that the cPanel Disk Usage interface hangs when loading, try checking the cPanel error log as you may need to increase the "Max cPanel process memory" from the default of 768M. This may also just be the result of having far too many files located within a single directory, as can be the case with cache. You can clear the cache to resolve this.

control-panels/cpanel-whm/how-to-find-cpanel-other-disk-usage.txt · Last modified: 2019/10/10 15:12 by Karson N.