Domains In Plesk Showing No Disk Usage Or Bandwidth

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Profile image of Mattias Geniar

Mattias Geniar, October 25, 2008

Follow me on Twitter as @mattiasgeniar

There’s a known issue with some of the older versions of Plesk, where the domains show 0.00MB in disk usage and bandwidth, despite having several (hundreds) of megabytes worth of storage. The problem usually exists in the statistics program not being run by Plesk as it should be.

There are several possible solutions, which can be tried harmlessly. First is to restart MySQL and PSA (Plesk Server Administrator).

/etc/init.d/mysql restart

/etc/init.d/psa restart

If that does not solve it, you can run the following commands to execute the statistics-tool in Plesk, which will re-calculate all stats (disk & bandwidth usage).

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

This will re-run all the statistics for the domains (and if you have a lot of domains, this can take a while) and Plesk will show correct disk- and bandwidth usage again.



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.