• 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 !!!

Still no go. Look below:

Domain page is plesk lists a domain as 81.2MB

[root@hosting-1 vhosts]# du -sh cheaperthandirtdesign.com/
239M cheaperthandirtdesign.com

[root@hosting-1 vhosts]# du -sb cheaperthandirtdesign.com/
249761792 cheaperthandirtdesign.com

and of course that comes out to around 239M..

So I am not sure exactly what the statistics program is doing to get the number, but it looks to me like it is not doing it correctly.
 
I am wondering, if when Plesk installs, does it take a copy of the du binary and copy itself someplace and use that? Seems to be exactly what is happening because using the old binary I get exactly the same result they do.
 
Same issue here!

Plesk lists for a domain 200KB disk usage,

du -sh extremechix.net/
99M extremechix.net

du -sb extremechix.net
80012001 extremechix.net

Ajajaj....first plesk server but more and more issues to find :mad:
 
Originally posted by madadam

# 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

[/B]

THANK YOU! That was great. It is working just fine.:D :D :cool:
 
I can imagine that the statistics dir for instance is not taken into account when calculating disk usage in Plesk. What does du -sh ~domainuser/* say? This should give you a breakdown of the dirs in a users home and their disk usage.
 
Hello,

In recently upgraded to Kernel Linux 2.6.18.1-grsec after which I got this Chrooted Error.

I have Linux Redhat Enterprise IV + Plesk 7.5.4 installed.

Many of our Domains on Plesk Are showing Quota Exceed Report Seen by me showed Exceeded Limit on the given below Head for which I searched and got this Link Disk space used by Chrooted environment

http://forum.swsoft.com/showthread....light=Disk+space+used+by+Chrooted+environment
on the basis of these links I used
> cd /var/www/vhosts/Domain.org/httpdocs
>du -sb

And got the reply 13304

>du -sh

And got the reply 13 K

At http://forum.swsoft.com/showthread.php?threadid=35257&perpage=15&pagenumber=2
Going through the forum I used below command, after which this problem was on one 4 domain it became active on all domains;
I RUN the command and I got;
1. # mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e"update misc set val='byte' where param='size_count_type'"

> ok

2. # /usr/local/psa/admin/sbin/statistics;
Webalizer V2.01-10 (Linux 2.6.18.1-grsec) English
Using logfile STDIN (ftp)
Using DNS cache file /usr/local/psa/var/webalizer.cache
Creating output in /var/www/vhosts/Domain.com/statistics/ftpstat
Hostname for reports is 'Domain.com'
Reading history file... webalizer.hist
Reading previous run data.. webalizer.current
No valid records found!

[root@ns1 ~]# cd /var/www/vhosts/Domain.com/httpdocs
[root@ns1 httpdocs]# du -sb
13304 .
[root@ns1 httpdocs]# du -sh
16K .
*******************************
Please look into the issue & Resolve it.

1. Earlier this chrooted 19MB was not been used on each domain, by this every domain on server using using More space 19 MB + Actual Usage. Puting us in a bad position. Because many of domains are using 5MB, 10 MB, 20 MB Total space, where is this ch rooted alone is taking 19 MB each domain. That is my concern. Further it has taken major part of my hard disk space unwontedly.
How to FIX this issue. and it takes only that much space what actually domain data is using.

When Every thing was working fine before kernel update then why this misbehavior after the kernel upgrade.
How to Resolve it now?
 
Back
Top