• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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