Cron.php put the site very slow

Cron.php put the site very slow

by Cristian Matos -
Number of replies: 2

Hi, I'm having a problem with my site. I created a crontab and make the admin/cron.php run every 30 minutes. But when I do this it always put my site very slow.

I know this file is required for some modules and blocks to work, is it really necessary?

Running the file manually I've seen that the task named "Running clean up task" take all the time. All other tasks run fast. Can I disable the clean up tasks?

Any advise?

Thanks

Average of ratings: -
In reply to Cristian Matos

Re: Cron.php put the site very slow

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

How long does it take?

What is the machine doing? Can you run 'top' in another window or similar to get an idea.

In reply to Howard Miller

Re: Cron.php put the site very slow

by Abhi puri -

How big is your database?

We had slow site cron, our scorm attempts had almost 600K lines in the database! trimmed it down, fixed the slowness issues.