Page 1 of 2 12 LastLast
Results 1 to 15 of 20

Thread: Query About cPanel disk space usage calculation

  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    900

    Thumbs up Query About cPanel disk space usage calculation

    Hi,

    Can cPanel folk tell about disk space usage calculation utility of cpuser ??

    Home (not in a subdirectory) 0.13 MB
    Home/etc 0.76 MB
    Home/mail 3597.91 MB
    Home/public_ftp 0.00 MB
    Home/public_html 13.09 MB
    Home/tmp 2.46 MB
    Home/(other subdirectories) 28.55 MB
    MySQL 0.00 MB
    Other 3623.29 MB
    Total 7266.20 MB
    can cPanel folk tell where Other 3623.29 MB is being used ?? how can i empty it ??

    3 days before it was showing less 2500 MB & now suddenly its showing Total 7266.20 MB ??

    how it is possible ???
    Attached Thumbnails Attached Thumbnails Query About cPanel disk space usage calculation-du.jpg  

  2. #2
    Registered User
    Join Date
    Aug 2010
    Posts
    3

    Default Re: Query About cPanel disk space usage calculation

    Hello,

    You have to contact your hosting provider for this they can help you here.

    Physically the all the files which are present under your account /home/username and Mysql database in /var/lib/mysql.
    In linux systems the disk space is calculated by the ownership of files and the place where the files exists.
    So you'll need to check on the server if any other files or olders except the ones under your account has the ownership of your cpanel user.

    If you have the root access of the server, you can use following command to check all the files with the user "username" in /home directory.

    find /home -user username

    Hope this will help.

    ----------
    Poonam
    HOSTC0IN

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    2

    Default Re: Query About cPanel disk space usage calculation

    Currently I have the same problem with some clients, I've checked everything and even gave not the exact problem, I would like to know because it is so.

    Customers report that was generated only when you install this script like joomla and wordpress

    Files in home directory 0.05 MB
    Files in hidden subdirectories 0.43 MB
    etc/ 0.03 MB
    mail/ 1.50 MB
    public_ftp/ 0.00 MB
    public_html/ 41.73 MB
    tmp/ 0.02 MB
    MySQL 0.00 MB
    Mailing lists 0.00 MB
    Other usage 117.11 MB
    160.88 MB total disk space used
    250.00 MB quota limit ({mib} MB used)



    It Is the Usage in /home/userclient
    Last edited by netandino; 06-01-2011 at 07:26 PM. Reason: Addietem one picture

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Query About cPanel disk space usage calculation

    Did you run the suggested command? Although, I would personally check for / not just /home:

    Code:
    find /home -user username
    find / -user username
    Any files owned by the user should show up and they will be counted as part of the disk space total.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Jul 2009
    Posts
    31

    Default Re: Query About cPanel disk space usage calculation

    Bit late to resurrect, but running those commands really isn't much help when the result is that ALL returned files are already in /home/user, AND which are already owned by that user.

    I got a mile-long list of files, which were ALL in the /home/user/ directory and substructure.

    I already ran:

    chown -R user:user /home/user/public_html/*

    So, there are no files owned by "user" other than those in /home/user and still cPanel is saying "Other usage 103 MB".

    Where is that 103 MB being used?

  6. #6
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    2,215
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Query About cPanel disk space usage calculation

    Hello

    Feel free to open a support ticket so we can investigate the issue further for you:

    Submit A Ticket

    You can post the ticket number here so we may track the issue.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  7. #7
    Member
    Join Date
    Jul 2009
    Posts
    31

    Default Re: Query About cPanel disk space usage calculation

    This issue isn't specific to one server, or I would. I'm the admin for about 50 servers, all running WHM/cPanel, and this shows up quite often on any of them.

    Let me re-phrase my question(s).

    On the same server, some accounts will show zero for that column while others show usage.

    Exactly how is that "Other usage" calculated?

    Where is it "looking" (for want of a better word) to come up with that figure?

    Thanks in advance.

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Query About cPanel disk space usage calculation

    Other will find files outside /home/user and count that usage in some instance. Opening up a ticket for one server so we can discern where that usage stems would be most helpful. That way we can see if there's an actual issue or whether there is not.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    Registered User
    Join Date
    Jan 2012
    Posts
    1
    cPanel/WHM Access Level

    Website Owner

    Default Re: Query About cPanel disk space usage calculation

    Hello everybody,

    I encountered the same problem on my blog. I'm using wordpress and the 'other usage' in my case was almost 500 mb. I made a filtering by size and found out that most of the disk space was occupied by a file called error_log.

    I just deleted the file and it solved my problem. I hope this helps.

    Regards,
    Andrei

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Query About cPanel disk space usage calculation

    If you had a 500 MB error_log for PHP, that log would have been relatively large in size. Since PHP script errors are logged to the error_log file, it would have been useful to check the errors logging to it prior to removing it.

    Additionally, the file is simply going to reform on the account due to error logging being on, and that file will grow in size again. Fixing the PHP errors on your site or in your code would be the more beneficial course of action.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  11. #11
    Registered User
    Join Date
    Jun 2012
    Posts
    4
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Query About cPanel disk space usage calculation

    Good morning.

    I am problems from "other usage" in Cpanel.

    My system is CentOS from Cpanel WHM 11.32.3 (build 23)

    Someone managed to solve this problem?

    Query About cPanel disk space usage calculation-captura-de-tela-de-2012-08-14-10-03-57.png

  12. #12
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    2,215
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Query About cPanel disk space usage calculation

    Quote Originally Posted by Thiagom View Post
    Good morning.

    I am problems from "other usage" in Cpanel.

    My system is CentOS from Cpanel WHM 11.32.3 (build 23)

    Someone managed to solve this problem?
    It's not necessarily a problem if you see disk space usage under "Other Usage". Have you tried using the "find" commands mentioned in this thread to determine which files are using the disk space?

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  13. #13
    Member
    Join Date
    May 2006
    Location
    Morocco
    Posts
    186
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Query About cPanel disk space usage calculation

    same isseu here in some of my servers , some client need to know where is this files !!!!

  14. #14
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    2,215
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Query About cPanel disk space usage calculation

    Quote Originally Posted by activa View Post
    same isseu here in some of my servers , some client need to know where is this files !!!!
    Please try using the commands provided at:

    Query About cPanel disk space usage calculation

    This should help to determine where the other files are located.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  15. #15
    Member
    Join Date
    May 2006
    Location
    Morocco
    Posts
    186
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Query About cPanel disk space usage calculation

    Quote Originally Posted by cPanelMichael View Post
    Please try using the commands provided at:

    Query About cPanel disk space usage calculation

    This should help to determine where the other files are located.

    Thank you.
    i found some files in
    /backup folder and /eaccellerator tmp folder

Page 1 of 2 12 LastLast

Similar Threads

  1. Disk Space Calculation Error in cpanel/whm current release
    By Bahram0110 in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 08-28-2010, 09:13 AM
  2. Where does cPanel keep disk space usage stats
    By optize in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 03-06-2009, 12:41 PM
  3. Are /tmp files included in cpanel disk usage calculation?
    By electric in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 10-27-2008, 03:39 PM
  4. Mail usage: show disk space used does not match actual disk usage
    By NNNils in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 11-25-2004, 07:01 AM
  5. Disk space calculation?
    By masood in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 06-28-2002, 08:49 AM