civicrm_org_stats cron is hanging
The core-cron on civicrm.org cannot run because civicrm_org_stats
is hanging. I'm not sure what the cause is, but it seems to take more than 15 minutes to run.
I have disabled its code for now, by adding a return
statement in its hook_cron
function.
This has been broken for a long time, and is a low priority.
Found it by adding a drush_log
statement in includes/common.inc
, in drupal_cron_run()
:
// Iterate through the modules calling their cron handlers (if any):
foreach (module_implements('cron') as $module) {
drush_log("*************** $module", 'ok');
// Do not let an exception thrown by one module disturb another.
try {
module_invoke($module, 'cron');
}
catch (Exception $e) {
watchdog_exception('cron', $e);
}
}
cc @nicw