• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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