• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Disable Awstats, transfer and disk space stats stop to work

SalvadorS

Regular Pleskian
Hello,

I diseable AWstats from my 9.2.3 plesk server. I did it because:

* Awstats starts at a fixed hour that we can´t modify.
* Awstats was working arround 8 hours for 300 domains.
* Load of the server was at least 5 points higher when awstats was running.

So I edit /etc/cron.daily/50plesk-daily and comment this line:

...
# install_statistics
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php >/dev/null 2>&1
...

Since then awstats is not running. The problem is that the transfer and the disk usage of the domains aren´t updated every day.

Questions:

1.- How can I update transfer and disk usage of the domains without running awstats?

2.- Can I run Awstats for a partoicular domain only without running for the whole server?

Wait your answer

Thanks a lot
 
1. You can't separate transfer, disk usage, etc and awstats statistics. It is hardcoded in /usr/local/psa/admin/plib/DailyMaintainance/script.php script.

2. Use 'domain' utility for this purpose:

# /usr/local/psa/bin/domain --help | grep -i awstat
-webstat <none|awstats|webalizer> Web statistic support on domain

As you can see you can disable awstats for particular domains.
 
Thanks for your quick reply. If I disable awstats for a domain from the domain utility, transfer and disk usage will be updated?

Regards
 
Thanks for your quick reply. If I disable awstats for a domain from the domain utility, transfer and disk usage will be updated?

Regards

Yes, it will be updated with /etc/cron.daily/50plesk-daily but you should uncomment line with script.php. Awstats will not be updated for domains with disabled webstat.
 
Back
Top