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.

user account large space useage cant locate reason

Discussion in 'General Discussion' started by ergohost, Aug 11, 2010.

  1. ergohost

    ergohost Member

    Joined:
    Jul 12, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hey folks.

    Ive got one user account on my server shows 14+ gb space useage. Its one of my own accounts and should be more like 2 - 3 Gb at a rough estimate

    I have looked through it, tried reassessing quotas, cleaned out the backups and cpanelk backups etc. Nothing seems to make a difference.

    Any tips to trace large files, directories etc. in the user account?
     
  2. ergohost

    ergohost Member

    Joined:
    Jul 12, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Doh! Forgot about "Disk Space Usage" in the cpanel :)

    Found the culprits, a number of joomla database drop files using space but not showing up in the directory listing in cpanel, but did show which dir was using the space.

    Sorted.
     
  3. Pedro Pinto

    Pedro Pinto Registered

    Joined:
    Aug 11, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    you should probably first check the user's tmp directory, sometime the stats eat up all of the available space

    here's a small bash script that might help you identify the directory (run it on the user dir), assuming you have shell access:
    Code:
    for x in $(ls -a); do                                                                                                                                                              
      if [ "$x" != "." ];then                                                                                                                                                    
        if [ "$x" != ".." ];then                                                                                                                                           
          if [ -d $x ]; then                                                                                                                                         
            du -hs $x                                                                                                                                          
          fi                                                                                                                                                         
        fi                                                                                                                                                                 
    fi                                                                                                                                                                         
    done 
    
     
Loading...

Share This Page