Showing more space used than real

benito

Well-Known Member
Jan 8, 2004
380
10
168
Mar del Plata - Argentina
cPanel Access Level
Root Administrator
Twitter
I have this problem, check the picture:



In a server with 100+ account this is the only wrong, its showing 165MB used, but the account its using only 2MB for real.

I already try fixing quotas and the problem persist. What can i look now?

EXTRA INFO:

Found some folders in /home/.cpan owned by this user account.

ie:

drwxr-xr-x 5 dsa8985 dsa8985 4.0K Jul 28 2007 AppConfig-1.66
drwx------ 4 dsa8985 games 4.0K Jul 28 2007 BSD-Resource-1.28
drwxr-xr-x 6 dsa8985 dsa8985 4.0K Jul 28 2007 Class-Std-v0.0.8
drwxr-xr-x 7 dsa8985 dsa8985 4.0K Jul 28 2007 Compress-Zlib-1.42
drwxr-xr-x 4 dsa8985 dsa8985 4.0K Jul 28 2007 Digest-MD5-File-0.05
drwxr-xr-x 5 dsa8985 dsa8985 4.0K Jul 28 2007 ExtUtils-CBuilder-0.19
drwxr-xr-x 7 dsa8985 dsa8985 4.0K Jul 28 2007 ExtUtils-MakeMaker-6.36
drwxr-xr-x 4 dsa8985 dsa8985 4.0K Jul 28 2007 File-Copy-Recursive-0.33
drwxr-xr-x 8 dsa8985 dsa8985 4.0K Jul 28 2007 Module-Build-0.2808
drwxr-xr-x 5 dsa8985 dsa8985 4.0K Jul 28 2007 PathTools-3.25
drwxr-xr-x 12 dsa8985 dsa8985 4.0K Jul 28 2007 Template-Toolkit-2.19
drwx------ 3 dsa8985 dsa8985 4.0K Jul 28 2007 TermReadKey-2.30
drwxr-xr-x 5 dsa8985 dsa8985 4.0K Jul 28 2007 Test-Simple-0.70
drwxr-xr-x 6 dsa8985 dsa8985 4.0K Jul 28 2007 YAML-0.65
drwxr-xr-x 6 dsa8985 dsa8985 4.0K Jul 28 2007 YAML-Syck-0.94

Most of the folders inside .cpan are owned by root, all listed here by my client (dsa8985) and some others by another clients.

Why my clients owns those folders outside his home dir? Can i clean all .cpan content?
 
Last edited:

PlatinumServerM

Well-Known Member
PartnerNOC
Jul 10, 2005
400
3
168
New Jersey, USA
cPanel Access Level
Root Administrator
First, be very careful when changing permissions on system files. If you don't know what you are doing, do not attempt this.

If you do, then you will need to search the system for files outside their home directory that are owned by that user, and then reset them to the proper username. This will resolve the incorrect space issue.