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.

Quota says 300Mb used but it's actually 2.5Gb

Discussion in 'General Discussion' started by Gareth-AWD, Sep 16, 2014.

  1. Gareth-AWD

    Gareth-AWD Well-Known Member

    Joined:
    Jul 3, 2008
    Messages:
    144
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    Please see the attached picture. One other site has a similar issues, but the rest are fine.

    Both sites have a majority of their files stored in /cms-data/images/{folder}

    There are a good couple of thousand folders as each product has it's own folder of images. I'm guessing this is causing a mis-calculation.

    storage.jpg
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,675
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you verified that all of the files in that directory are owned by the account username and not by "root" or "nobody"? Files owned by a different username do not count towards the overall quota limit.

    Thank you.
     
  3. Gareth-AWD

    Gareth-AWD Well-Known Member

    Joined:
    Jul 3, 2008
    Messages:
    144
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    Hmm that does seem to be the case.

    I'm confused. This server when new files are created, the user is set to 99, but on my other server it sets them to the correct user.

    Any ideaS?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,675
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's like you are using DSO as the PHP handler and files uploaded by the PHP script itself are owned by the "nobody" username. You may need to switch to suPHP and manually update the file ownership if that behavior is not acceptable.

    Thank you.
     
Loading...

Share This Page