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.

Strange Quota Problem

Discussion in 'General Discussion' started by PeteC, Jun 20, 2003.

  1. PeteC

    PeteC Well-Known Member

    Joined:
    May 8, 2003
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Texas
    I've searched and read a lot of quota threads, but haven't found anything like this. What do you quota gurus make of this:

    I have a user account, let's call him fatuser. CPanel reports his disk usage at 114 MB. If I SSH in and look around /home/fatuser that's about what I come up with.

    However, if I do du -sh /home/fatuser/* it reports 3.5 GB in public_html. CPanel backed up his account today, and it about brought the server to its knees, registering server loads over 20 due to gzip. The backup file was 3.5 GB:

    /backup/cpbackup/daily/fatuser.tar.gz

    But I only see a little over 100 MB in his public_html. Any idea what's up?

    cPanel.net Support Ticket Number:
     
  2. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    Is it possible that he has a script that is writing ownership as "nobody" in his folders? maybe one of those images gallerys?

    cPanel.net Support Ticket Number:
     
  3. PeteC

    PeteC Well-Known Member

    Joined:
    May 8, 2003
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Texas
    Re: Re: Strange Quota Problem

    Yes, you're exactly right. He has images galore and many are owned by "nobody." The kicker is that he had a 3.4 GB file in there owned by "nobody." And it had been there awhile.

    Thanks for the right-on-target answer!

    cPanel.net Support Ticket Number:
     
  4. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    Re: Re: Re: Strange Quota Problem

    pretty common issue. :) glad you found it.

    cPanel.net Support Ticket Number:
     
  5. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    If it's so common, how come cpanel didn't came up with a fix yet?

    cPanel.net Support Ticket Number:
     
  6. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    It's not broken. cPanel uses quotas that are part of the OS. They report what the user files are adding up to be. User "nobody" is not the same as your user.

    cPanel.net Support Ticket Number:
     
  7. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    I think it is broken, because unix system quota doesn't care about webhosting environment where apps like galary write to the filesystem as the web user. Cpanel, on the other hand, should care, and should supply a way to accurately count quota and not mislead it's users/admins with false quota listings.
     
    #7 uadm, Jun 20, 2003
    Last edited: Jun 20, 2003
  8. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    No No ..I know what you are saying :) it's a pain in the ass .. i know. Problem is not the counting but the user. The php script through apache writes as "nobody". You can try running the php version of suExec and I think files write as the user name.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page