[pmwiki-users] ActionLog slows down site, drastically

Dominique Faure dominique.faure at gmail.com
Wed Mar 7 12:35:23 CST 2007


On 3/7/07, Sandy <sandy at onebit.ca> wrote:
> After maybe a week or two of running ActionLog, the file was over 300kb.
>   Not terribly huge, but my site was getting painfully slow.
> Deactivating it seems to have solved the problem.
>
> Would having it add the records to the end of the file be more efficient
> than adding it to the front, as it does now? If so, please upgrade this
> query to a suggestion.
>

For the record, I should apologize that I wrote this recipe more as a
proof-of-concept than as something efficient.
Noticeably, one of the drawback I didn't circumvent is that when
logging an action, the page log is *entirely* read into memory,
updated, then written to disk.

In the meantime, using $ActionLogLinesMax and $ActionLogArchive could
help by limiting the size of the work page.

Dom



More information about the pmwiki-users mailing list