-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.2
-
None
-
MOODLE_22_STABLE
-
MOODLE_22_STABLE
-
Cron and accesslib.php were both changed substantially in Moodle 2.2.
One bit in particular has been causing us problems since we upgraded from 2.1.x this morning. In cron-lib, there are now calls to
context_helper::cleanup_instances(); // Line 149 of lib/cronlib.php
context_helper::build_all_paths(false); // Line 151 of lib/cronlib.php
context_helper::create_instances(); // Line 183 of lib/cronlib.php
At least one of thase calls was bringing down our server, but we are not 100% sure which. We commented out all three lines of code, and now running cron does not bring down the server, and we don't really want to experiment enabling them one at a time, and see which crashes our live systemwink
See http://moodle.org/mod/forum/discuss.php?d=199830 for more info.