user account large space useage cant locate reason

ergohost

Member
Jul 12, 2009
6
0
51
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?
 

ergohost

Member
Jul 12, 2009
6
0
51
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.
 

Pedro Pinto

Registered
Aug 11, 2010
4
0
51
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