• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Disk usage and Band Usage not correct !!!

S

Ste_000

Guest
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!
 
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.
 
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.
 
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!
 
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)
 
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
 
> 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...
 
yes, all is perfect, like madadam....the proble is only plesk....support has reply to me but still nothing works
 
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?
 
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.
 
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.
 
> 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?
 
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.
 
I have the same problem with the disk usage on Domains. "du" worx fine and correct, but not the statistics in Plesk :(
 
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.
 
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...
 
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.
 
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.
 
Back
Top