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.

cpanel double files' size

Discussion in 'General Discussion' started by cch, Dec 20, 2005.

  1. cch

    cch Member

    Joined:
    Mar 24, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Version: WHM 10.8.0 cPanel 10.8.1-S31 & CentOS 4.2

    I did search cpanel forum and ask cpanel & other admins. I still have the issue.
    /scripts/initquotas & /scripts/fixquotas will not fix the issue.

    If I check the URL, it's showing the correct files size. It is the same with "ls -l".
    http://domain.com/shop/images/dvd/

    However, cpanel(whm,ssh) is showing twice the amount of disk space being used.
    The DVD folder should be 76K.

    Every user(folder) has the same problem. Any idea how to solve the issue?
    Appreciate it.

    root@server [/home/userID/public_html/shop/images/dvd]# ls -l
    total 160 -------------->>>>>In other servers, it shows 80. IS 160 the problem?
    drwxr-xr-x 2 userID userID 4096 Nov 22 14:05 ./
    drwxr-xr-x 13 userID userID 4096 Nov 22 14:06 ../
    -rw-r--r-- 1 userID userID 3442 Nov 22 14:05 a_bugs_life.gif
    -rw-r--r-- 1 userID userID 3502 Nov 22 14:05 beloved.gif
    -rw-r--r-- 1 userID userID 4027 Nov 22 14:05 blade_runner.gif
    -rw-r--r-- 1 userID userID 3538 Nov 22 14:05 courage_under_fire.gif
    -rw-r--r-- 1 userID userID 3539 Nov 22 14:05 die_hard_3.gif
    -rw-r--r-- 1 userID userID 3642 Nov 22 14:05 fire_down_below.gif
    -rw-r--r-- 1 userID userID 3949 Nov 22 14:05 frantic.gif
    -rw-r--r-- 1 userID userID 3584 Nov 22 14:05 lethal_weapon.gif
    -rw-r--r-- 1 userID userID 1057 Nov 22 14:05 no_picture.gif
    -rw-r--r-- 1 userID userID 2726 Nov 22 14:05 red_corner.gif
    -rw-r--r-- 1 userID userID 3822 Nov 22 14:05 replacement_killers.gif
    -rw-r--r-- 1 userID userID 3761 Nov 22 14:05 speed_2.gif
    -rw-r--r-- 1 userID userID 3470 Nov 22 14:05 speed.gif
    -rw-r--r-- 1 userID userID 3731 Nov 22 14:05 the_matrix.gif
    -rw-r--r-- 1 userID userID 3514 Nov 22 14:05 theres_something_about_mary.gif
    -rw-r--r-- 1 userID userID 3666 Nov 22 14:05 under_siege2.gif
    -rw-r--r-- 1 userID userID 3055 Nov 22 14:05 under_siege.gif
    -rw-r--r-- 1 userID userID 3502 Nov 22 14:05 youve_got_mail.gif


    root@server [/home/whotwcom/public_html/shop/images/dvd]# du -sh
    152K .

    root@server [/home/userID/public_html/shop/images/dvd]# du -ah --max-depth=1
    8.0K ./the_matrix.gif
    8.0K ./die_hard_3.gif
    8.0K ./youve_got_mail.gif
    8.0K ./theres_something_about_mary.gif
    8.0K ./blade_runner.gif
    8.0K ./lethal_weapon.gif
    8.0K ./speed.gif
    8.0K ./courage_under_fire.gif
    8.0K ./under_siege.gif
    8.0K ./no_picture.gif
    8.0K ./fire_down_below.gif
    8.0K ./frantic.gif
    8.0K ./under_siege2.gif
    8.0K ./replacement_killers.gif
    8.0K ./speed_2.gif
    8.0K ./a_bugs_life.gif
    8.0K ./red_corner.gif
    8.0K ./beloved.gif
    152K .
     
  2. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    Same issue:

    root@server [/home/rias1103/public_html]# du * -hs
    8.0K cgi-bin
    16K index.php
    13M os

    root@server [/home/rias1103/public_html]# du * -b -h -s
    4.0K cgi-bin
    9.9K index.php
    5.6M os
     
Loading...

Share This Page