Active
Project:
SuperCron
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2011 at 16:57 UTC
Updated:
16 Mar 2011 at 13:28 UTC
I found in recent hits log that supercron/run-autocron-xxxxx be called 20times/min.
I've turned off autocron, but I got the same results.
I've tried reinstall, but I got the same results.
Comments
Comment #1
ajwebformds commentedFirst, this is a great module. Something drupal should have built-in. Excellent work. Bugs are par for the course in every app.
I noticed the same thing a few days ago with the 2.x version. I had disabled the crontabs during miatenance and forgot to renable them. It just about brought the system to a halt in the way a cron DoS would.
Looks like the code for the autocron functions check to see if you are in the admin screen, in case you are disabling the module. Perhaps adding a check to see if it is the autocron page as well?
Basically, it looks as if autocron kicks off, sees that it has not run, and kicks itself off again, and that one kicks off another one, and so forth. Since I have modified the supercron.php to support multisites, I thought it might have been specific to my case as it is running against three multi-sites. For me, I commented out the "if (!$execute)" and "if ($execute)" lines in the supercron.classes.inc and supercron.inc until I have the time to figure out a workaround.
AJ
Comment #2
webadpro commentedHi,
I'm running in the same issue. Vers 1 & 2.