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.

Stats progs are killing user's quotas

Discussion in 'General Discussion' started by gsbe, Sep 17, 2003.

  1. gsbe

    gsbe Active Member

    Joined:
    Jul 27, 2003
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Nashville, TN
    Disk usage showing on CPanel is 3.61 Megabytes out of 5 Megabytes.

    They don't have much email - 3 accounts and the largest (user@domain.com) has 0.26 Megs in her email account.

    Their public_html directory is 99.39 KB

    The user is receiving emails saying that they are using 84% of their disk space and are running out of space.

    These seem to be the problem files:
    • /tmp/analog/cache is 1068 k
    • /tmp/awstats/awstats092003.domain.com.txt is 206 k
    • /tmp/webalizer/dns_cache.db is 1248 k
    • /tmp/webalizer/webalizer.current is 500 k

    These files are much larger than their website! Is there a way to limit the filesizes of the stat programs' cache files?

    I have the "Enable Reverse dns resolution for Awstats" unchecked in WHM's Server Setup -> Tweak Settings

    What's can I do for these 5 MB clients?

    cPanel.net Support Ticket Number:
     
  2. gsbe

    gsbe Active Member

    Joined:
    Jul 27, 2003
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Nashville, TN
    A buddy told me yesterday that hosting companies routinely add 10MB to each package to cover these type of system files. Is this what most people do - sell a package to a client for 5MB but set their quota at 15MB?

    Thanks...

    cPanel.net Support Ticket Number:
     
  3. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    I am also having this problem and came here to post the same question. I have users who have 350 MBs allotted to their account. They are using under 300 MBs of disk space and receive a lot of bandwidth (20+ GBs/month). Just from the cache files from their statistics in their /tmp directories, it made their account go over 430 MBs of disk space, causing them to receive disk space warnings.

    Is there anyway to make it so the cache files that are created from the stats programs are not counted towards their space? If not, is there anyway to keep the cache files from being so big?

    cPanel.net Support Ticket Number:
     
  4. Curious Too

    Curious Too Well-Known Member

    Joined:
    Aug 31, 2001
    Messages:
    427
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    You can periodically delete the cache files. This is what I do:

    rm -rf /home/*/tmp/analog/cache

    cPanel.net Support Ticket Number:
     
  5. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    Is there anyway to make it so it will not save the cache files? The cache files take up a lot of space for high bandwidth users, especially since there's a seperate one for webalizer, analog, and awstats.

    If the cache file isn't there, will it just make it so they can't see the stats from previous months?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page