• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.

Incorrect logs size in statistics

Bart

New Pleskian
Hi,

I have one subscription that shows incorrect statistics for the log file size. In the statistics pane it reports 130MB, while on the server in the /var/www/vhosts/domain/logs I only see 1.7MB.

Are there any other locations where logs are kept that are included in the statistics?

Thanks for your help!
 
Try to find something useful in output of following commands:

# export PLESK_DEBUG=1
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f ExecuteStatistics

or

# export PLESK_DEBUG=1
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f OptimizeStatistics
 
No, still shows 130MB.

This account was first on another server and had the exact same problem. I though moving it to another server (with other Plesk version) would solve it, but we're a few days later now and it still shows incorrect file size for logs.

Log rotation is enabled and shows only 1.7MB in files, while the statistics show 130MB and causing the account to run out of disk space.
 
Finally found the cause. It's AWStats in /var/www/vhosts/system/<domain>/statistics/webstat that fills up the accounts disk space.

Is there any way to not include these?
 
Last edited:
Back
Top