1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

statistics problem - log file too big

Discussion in 'Plesk for Linux - 8.x and Older' started by pedropadron, Aug 2, 2006.

  1. pedropadron

    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