You are viewing the PKP Support Forum | PKP Home Wiki

COUNTER Statistics: freezes - to much data?

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

COUNTER Statistics: freezes - to much data?

Postby elbaek » Thu Mar 22, 2007 7:49 am


We have experienced that our COUNTER statistics freezes. We have 4 active journals in the same OJS instalation and some 14.000 views per month. My best guess is that the freeze occoured when we hit 40.000 or 50.000 views and we didn't clear the log.

We have now cleared the log via PHP. But is there a upper limit to the capacity of the log?

Our plan now is to clear the log once a month. But it would have been a better service for our journals if we could have presented the complete statistics in the Journal Manager pages.

Best regards

Mikael K. Elbaek
Copenhagen Business School
Posts: 13
Joined: Wed Jun 22, 2005 1:51 am
Location: Denmark

Postby asmecher » Thu Mar 22, 2007 10:58 am

Hi Mikael,

The current log parsing and report generation process is not particularly efficient, and that is something we'll be addressing in a future release. However, even mature analysis tools like Webalizer do require a significant amount of time to run. I suspect we'll move to a batch process in the future to best accommodate larger log files.

Note that the process of logging visitors is not a problem; it is fast and doesn't depend on the size of the log file. It's only the process of analysis that takes time and memory. You may find that increasing your memory and processing time limits in php.ini allows you to analyze bigger log files. Different releases of PHP (e.g. 4.x vs. 5.x) also behave very differently in terms of performance and memory usage with objects; in my experience, 5.x is significantly better.

Alec Smecher
Open Journal Systems Team
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests