• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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