• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Disk space different on Plesk CP and on Plesk Server

H

hc_andy

Guest
Hi there,

I can't seem to work out why the disk space usage on the user's domain is reported differently on the plesk control panel and the actual plesk server. Take a look below.

[root@plesk2 test.com.au]# du -h
169M ./httpdocs
254M .

Plesk Contro Panel reports:
Hard disk quota 500 MB
Disk space used by httpdocs 492 MB

Plesk expand reports:
Disk space 559.44 MB (used) 500 MB (allowed)

The server is reporting that the httpdocs directory is only using 169M and the total disk usage for that domain is 254M, but as you can see plesk CP and plesk expand are reporting different disk usage figures

Anyone got any ideas why this might be happening? I've reloaded the statistics from plesk expand for the domain and there was no change or update to the disk usage.

Thanks.

Andy
 
Ok I've been digging further into this issue and I think the difference between the disk space usage is that plesk updates its stats such as disk space every 24 hours (I read this somewhere). Can someone please confirm if this is true for me and if so what time does it do this?

I have been able to get the stats such as the disk space to update by manually running the statistics command below.

/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=yourdomain.com

Also what is included in the "Used" disk space column reported by plesk controk panel?

I have found that disk space includes everything in the directories which are created by default when the domain is first created and every file in the httpdocs folder that belongs to the user.

If I "chown" a big file in httpdocs to a different user and run the statistics command above, the file size of that big file is no longer included as part of the "Used" disk space - change the file ownership back to the user, re-run statistics and bang it's added to the "Used" disk space again.

Did the same by copying a large file into the log folder (/statistics/logs) and saw that this added to the "Used" disk space (eventhough the file ownership was set to root).

Hope that helps some people out.

So can someone please tell me how often plesk updats it's stats (eg: used disk space) and when? Thanks.
 
Back
Top