Cron.php really slow

Cron.php really slow

by Rob Hudson -
Number of replies: 0
Hello all,

I'm trying to figure out why our cron.php takes a long time (50 seconds) to run. I've done some profiling and it seems the call to session_destory() takes the majority of the time (48 seconds). Why is this? Whilst the cron job is running our moodle install runs really slowly.

Could this be fixed by running cron.php using the php command?

We have a duplicate test system which runs the same cron job in about 2 seconds!

Thanks for any help,

Rob
Average of ratings: -