• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

statistics problem - log file too big

P

pedropadron

Guest
hello everybody

I don't know if any of you had this kind of problem but I thought it could be useful for someone...

I had some domains that were having problems with statistics, they would never get updated not even if I run:

/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=mydomain.com

I saw that the statistics program "locks", and the cause of that is an access_log file too big. in my case, I saw acess_log.processed with 300mb in one domain. (yes, I should manage my logs better)

this problem made me look after my server logs pay more attention to it

I had to rename that file to generate new statistics only with access_log file

well, that's it, I hope someone finds this interesting

see ya

pedro padron
 
Back
Top