cron

I have been manually cleaning out the sessions table for some time now. We get about 8000 records per hour and so it does not take long to reach several hundred thousand records. Things start to bog down then. The system becomes very slow, especially if we are displaying the "Who's online" block on the home page, which is something we like to do. Also, the query to delete old session records can take quite a while to perform (up to 18 minutes that I have seen).

A SpinXpress user posted a video to the Internet Archive but it did not show up at Ourmedia. Turns out that the reason for this is that the person had never logged into Ourmedia before and the "ia" module quietly does nothing in that case. No error message, no nothing.

So this got me looking over ia.module in general and hook_cron() in particular. Then I looked at all the hook_cron's in all our modules and found lots of issues.

Syndicate content