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.

Query About cPanel disk space usage calculation

Discussion in 'General Discussion' started by crazyaboutlinux, Apr 16, 2011.

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

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

    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 Files:

    • du.jpg
      du.jpg
      File size:
      20.8 KB
      Views:
      263
  2. Poonam

    Poonam Registered

    Joined:
    Aug 11, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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 :p
    HOSTC0IN
     
  3. netandino

    netandino Registered

    Joined:
    Jan 15, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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)

    [​IMG]

    It Is the Usage in /home/userclient
    [​IMG]
     
    #3 netandino, Jun 1, 2011
    Last edited: Jun 1, 2011
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    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.
     
  5. TheSidewinder

    TheSidewinder Active Member

    Joined:
    Jul 18, 2009
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    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. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  7. TheSidewinder

    TheSidewinder Active Member

    Joined:
    Jul 18, 2009
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    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. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    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.
     
  9. andreika

    andreika Registered

    Joined:
    Jan 13, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    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. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    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.
     
  11. Thiagom

    Thiagom Registered

    Joined:
    Jun 19, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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?

    Captura de tela de 2012-08-14 10:03:57.png
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  13. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    same isseu here in some of my servers , some client need to know where is this files !!!!
     
  14. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  15. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
  16. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You may want to modify the ownership of those files to "root" via the "chown" command to ensure they are not counted towards the user's disk space usage. It may also be a good idea to move those directories to partitions without quota enabled if you do not want them to count towards the user's disk space. The backup location should almost always be on a separate drive or partition.

    Thank you.
     
  17. Thiagom

    Thiagom Registered

    Joined:
    Jun 19, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Good morning

    command "find" -> find /-user User

    In the directory showed no occupying this space.

    Using the du -sh User it shows only e-mail consuming.

    du -sh.png
     
  18. Thiagom

    Thiagom Registered

    Joined:
    Jun 19, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    strange

    After run find /-user User disappeared the "Other Usage"

    This command is not only doing a search?


    Estou feliz por ter resolvido o problema \o/. However I did not understand how it can solve?
     
  19. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The find command only searches for files. It does not update the disk space usage. However, it's possible cached data was updated to reflect the accurate disk space usage for the account, or that whatever taking up the disk space was removed or updated with different ownership.

    Thank you.
     
  20. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    i have found that eaccelerator store files with the ownership of the acount not the root .

    i have moved it from tmp to another partition with qouta enabled .

    is there a option to force eaccellerator to not give the files a user chwon ?
     
Loading...

Share This Page