Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    24

    Default incorrect disk usage reports

    On my server the disk usage for my users is reported incorrectly. For example, one account is using roughly 24 megabytes (I tar'ed the site and downloaded to my hard disk, program reported unpacked size is about 24mb.) but whm & cpanel from their account login says is is using 55 megabytes. all the accounts are reported incorrectly. my friend also has cpanel and this problem exists for him too. i have run /scripts/fixquotas and that doesnt do anything.
    some info on my system:
    Processor: intel celeron 1.7 ghz
    Memory: 512 mb ram
    Hard disk: EIDE 60022Mb CHS=7297/255/63 UDMA(100)
    mount: /dev/hda8 42gb used 365mb.

  2. #2
    Member
    Join Date
    Oct 2002
    Posts
    9

    Default

    Same problem here. I did a search and there are a whole bunch of system files owned by that user that shouldn't be. very strange.

    Any fix for this? My client is 158MB over quota because of it.

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    24

    Default

    krellen, do you have Analog stats enabled in your tweak settings section? im not positive on this but after i turned analog off, i think one accounts disk usage went from 22mb to 8mb. im not positive because i was only doing it to conserve space, not actually test to see if that was causing it. i turned analog back on to see if the usage will go up over time. if you do have it enable see what will happen if you disable analog.

  4. #4
    Member
    Join Date
    Sep 2001
    Posts
    157

    Default

    This is a bug that has existed/been fixed several times in the past I believe.

    I created 2 new accounts on our server within the past 5 days - both plagued by this. One should have 50mb and it says 48.01mb is already used; the other should have 300mb and it says 232mb is already used. Neither account has been used yet, however!

  5. #5
    Member
    Join Date
    Feb 2003
    Posts
    24

    Default

    yeah, i was wrong about the stats. there is just a bunch of files that are owned by the user that shouldnt be. here is an example below:

    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/make_command.com
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/mms2make.pl
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/munchconfig.c
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/myconfig.com
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/perlvms.pod
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/perly_c.vms
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/perly_h.vms
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/sockadapt.c
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/sockadapt.h
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/test.com
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/vms.c
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/vms_yfix.pl
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/vmsish.h
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/vmspipe.com
    /home/cpins/installd/wp-cpup/perl-5.6.1/vms/writemain.pl
    /home/cpins/installd/wp-cpup/perl-5.6.1/vos
    /home/cpins/installd/wp-cpup/perl-5.6.1/vos/Changes
    /home/cpins/installd/wp-cpup/perl-5.6.1/vos/build.cm
    /home/cpins/installd/wp-cpup/perl-5.6.1/vos/compile_perl.cm
    /home/cpins/installd/wp-cpup/perl-5.6.1/vos/config.alpha.def
    /home/cpins/installd/wp-cpup/perl-5.6.1/vos/config.alpha.h
    /home/cpins/installd/wp-cpup/perl-5.6.1/vos/config.ga.def
    /home/cpins/installd/wp-cpup/perl-5.6.1/vos/config.ga.h
    /home/cpins/installd/wp-cpup/perl-5.6.1/vos/config.pl

    ...and strangely a bunch more files from the perl folder
    i wonder what causes it and if there will be a fix?

  6. #6
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    The cause is very simple.

    We you get software from somewhere like cpan for example, that is packaged up on a *nix box, it also packages the uid:guid with it.

    When you unpack it the uid:guid try to match with what is in your /etc/passwd and /etc/group file. If there is a numerical match that name and group becomes the owners. If no match the files are then owned by the uid and guid numbers like; 3500:512 sample.

    Whenever new software is brought onto a server you should always to a chown -R on all the files in that tree structure to ensure that they are owned correctly.
    Regards,
    David
    Forum Moderator

Similar Threads & Tags
Similar threads

  1. Incorrect Disk Usage on /var
    By wipl in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-02-2010, 12:24 PM
  2. CPanel shows incorrect disk usage
    By domic in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-20-2010, 10:57 AM
  3. Disk Usage Incorrect
    By gertiebeth in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-30-2008, 08:55 AM
  4. Disk Usage for POP accounts incorrect
    By sparek-3 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-24-2005, 10:18 AM
  5. Erroneous disk usage reports
    By apc1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-11-2005, 09:30 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube