1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Disk usage and Band Usage not correct !!!

Discussion in 'Plesk for Linux - 8.x and Older' started by Ste_000, Jul 21, 2006.

  1. Ste_000

    Ste_000 Guest

    0
     
    We have problem since one weak with the quota disk for each domain and with quota of band usage .....they are incorrect ! for all domains....what is the problem? is a bad problem for us ! bye, thanks again

    ps. i have open a ticket but nothing reply since 2 days!
     
  2. Ste_000

    Ste_000 Guest

    0
     
    anyone?! :(
     
  3. ecropolis

    ecropolis Guest

    0
     
    Also not getting proper disk usage number

    I notice the same problem. I upgraded to 8.0.1 and noticed the disk usage numbers are all off for my domains.
     
  4. Linux_FC5

    Linux_FC5 Guest

    0
     
    Fixed Disk Usage or Traffic Report on Domains

    Restart services psa and mysqld manually.
    If it fail make a reboot and after this everything will be just fine!

    I had this problem too, but it fixed as above.
     
  5. madadam

    madadam Basic Pleskian

    24
    57%
    Joined:
    Jul 21, 2006
    Messages:
    25
    Likes Received:
    0
    We have a similar problem here (latest 8.0.1 update on FC4). Disk usage stats for any web users where the file owner is apache (i.e. files uploaded from web) are no longer taken into account - but they were before the update! No amount of server rebooting makes any difference to this!
     
  6. jwgreene

    jwgreene Guest

    0
     
    I have had this issue as well for weeks now. Still no fix despite multiple emails to support (always responding that the developers will look into it)
     
  7. Linux_FC5

    Linux_FC5 Guest

    0
     
    Check if "Include conf.d/*.conf " exists in httpd.conf
    Check if "webalizer.conf" exists in dir conf.d
    Check if "zz***_psa_httpd.conf" exists in the same directory , it has replace the "httpd.include" on dir conf.

    Check to confirm for the lines at the end of the file that includes configuration of all your domains (e.g: "Include /home/httpd/vhosts/domainexample.com/conf/httpd.include")

    Is missing anything of the configuration files? There are always backup files...

    If all are ok, maby there is a corruption at plesk database. Remove and update between 8.0 and 8.01 again, like:
    rpm --force -i /root/psa/PSA_8.0.0/dist-rpm-FedoraCore-2-i386/base/psa-8.0.0-fc2.build80060425.19.i586.rpm
     
  8. madadam

    madadam Basic Pleskian

    24
    57%
    Joined:
    Jul 21, 2006
    Messages:
    25
    Likes Received:
    0
    > Linux_FC5

    I'm not sure how the apache .conf files are relevant: our apache configuration is correct, and the domains in question are running as expected. The only issue is with the Plesk statistics for measuring disk usage for each domain...
     
  9. Ste_000

    Ste_000 Guest

    0
     
    yes, all is perfect, like madadam....the proble is only plesk....support has reply to me but still nothing works
     
  10. madadam

    madadam Basic Pleskian

    24
    57%
    Joined:
    Jul 21, 2006
    Messages:
    25
    Likes Received:
    0
    I have a new clue as to the cause of the problem:

    if I run the stats utility: /usr/local/psa/admin/sbin/statistics
    manually, it hangs and runs forever - it never returns!

    In fact, if I check the server process list (ps -el) it shows dozens of cron and statistics processes still running! So, it seems that the statistics utility is scheduled from cron every night, but never completes!

    Do you see the same?
     
  11. Linux_FC5

    Linux_FC5 Guest

    0
     
    Try a restart of psa service. In most of cases solve the problem!

    It is recommended to restart mysqld service first, then psa.

    Also check on Plesk Control Panel at Updater and be sure that all things (modules, services etc.) there are green colored!

    If problem exists, go to root/psa dir and through ssh install the previous version 8.0.0 with --force option.

    After this update again through the updater to the most recent 8.0.1.

    Remember the 8.0.1 is a final , and will be kept for very long time, i presume,and all the bugs issues from mother 8.0 have patched succesfully!

    And please do this: find your psa dir (mine is at /usr/local/psa ) look for /admin/conf/php.ini , it is the PHP master configuration file support for Plesk, and change if it is not like this
    safe_mode = Off
    most of problems we found in Plesk, like yours, were because safe_mode were on there after upgrade to 8.0
    Fix it, and then restart psa.
     
  12. jwgreene

    jwgreene Guest

    0
     
    that unfortunatly solves nothing.. The issue still exists. I am going to ask support for an update to see if the developers have looked into the issue.
     
  13. Linux_FC5

    Linux_FC5 Guest

    0
     
    > jwgreene

    what is your problem issue? Disk Usage or Bandwith Traffic on Domains, or both?

    Does it appear (the above) normally on report details of each domain separately, or just only to the summary domains page of admin's panel?

    If you do a: du /home/httpd/vhosts/yourdomain.com (or whatever your domain resides on your box)
    on a shell, the accurate disk usage is ok?
     
  14. jwgreene

    jwgreene Guest

    0
     
    It is just disk usage. bandwidth is correct. If i do a du -sk on a specific domain I get correct usage, where the plesk domain page lists like .12meg. The info inside the domain itself shows incorrect as well.
     
  15. DerFalk

    DerFalk Guest

    0
     
    I have the same problem with the disk usage on Domains. "du" worx fine and correct, but not the statistics in Plesk :(
     
  16. jwgreene

    jwgreene Guest

    0
     
    Issue is resolved in my case. Seems that the latest release of coreutils in RH AS 4.0 (rpm which has du) has a bad release of du. doing a du -sk, and -sh works fine, but a du -sb (which is what Plesk is using) does not.

    The fix was using du from an older archive and not disk space is being reported correctly.
     
  17. ihno

    ihno Guest

    0
     
    I´ve got Debian 3.1 and all "du" are ok. But plesk doesn´t update the Disk usage since the last update.
    The traffic ? I don´t know...
     
  18. jwgreene

    jwgreene Guest

    0
     
    Yeah, I fixed the du issue, only to find that Plesk is still reporting the incorrect disk space. Only thing I have got back from Plesk is that they would let the developers know. I am wondering if they copy a copy of du somewhere and use that rather than the normal system binary of du.
     
  19. madadam

    madadam Basic Pleskian

    24
    57%
    Joined:
    Jul 21, 2006
    Messages:
    25
    Likes Received:
    0
    I have just received the following to try from the SWSoft support team, and it seems to have worked for me (will confirm after a couple of days):

    please try using following commands to fix the problem with statistics:

    # mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e"update misc set val='byte' where param='size_count_type'"
    # /usr/local/psa/admin/sbin/statistics

    Also, please use the "du -sb" command to verify real size of directories.
     
  20. ihno

    ihno Guest

    0
     
    @madadam

    It works...
     
Loading...