On 3/7/07, Sandy <[EMAIL PROTECTED]> 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

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to