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 usage

Discussion in 'General Discussion' started by gate2vn, Apr 5, 2004.

  1. gate2vn

    gate2vn Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vietnam
    I set a client 50MB space. Follow CPanel, he is using 37MB. but du -h shows his folder is 66MB.

    which one is right? Is it a CPanel bug? I am not allowing overselling, but why he can upload more than 50MB?

    is there any idea? I am using CPanel 9.1 R85. Thanks
     
  2. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    Only files that are owned by him are counted in his quota. Check the files and see who they are owned by, most likely there are some backups, or logs in there not owned by him :)
     
  3. gate2vn

    gate2vn Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vietnam
    Thanks, but how can I check it?
     
  4. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    Code:
    # cd /home/[I]username[/I]
    # find  . ! -user [I]username[/I] -exec wc -c {} \;
    
     
  5. gate2vn

    gate2vn Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vietnam
    thanks for command. And I found my client uploaded 66MB not included mySQL DB :eek:

    I have set a package for them with 50MB space. So how can they upload more than 50MB??? How can I fix it?
     
Loading...

Share This Page