Hey all,
I'm running a Moodle site on Siteground, which measures usage in CPU Seconds. Since upgrading to 4.4.1, usage has spiked 300x and the company is threatening to take the site offline.
Possibly related, I'm getting the below notification daily:
Fail delay: 1 day - Clean backup tables, logs and files (core\task\backup_cleanup_task)
Fail delay: 1 day - core\task\asynchronous_copy_task ID = 7
Fail delay: 1 min - core_course\task\course_delete_modules ID = 1334
Execute scheduled task: Clean backup tables, logs and files (core\task\backup_cleanup_task) ... started 21:35:23. Current memory use 41.7 MB. Debugging increased temporarily due to faildelay of 86400 ... used 2 dbqueries ... used 0.092118978500366 seconds Scheduled task failed: Clean backup tables, logs and files (core\task\backup_cleanup_task),error/error_opening_file Backtrace: * line ? of unknownfile: call to file_logger->__wakeup() * line 97 of /backup/util/dbops/restore_controller_dbops.class.php: call to unserialize() * line 502 of /backup/controller/restore_controller.class.php: call to restore_controller_dbops::load_controller() * line 243 of /backup/util/helper/copy_helper.class.php: call to restore_controller::load_controller() * line ? of unknownfile: call to copy_helper::{closure}() * line 233 of /backup/util/helper/copy_helper.class.php: call to array_map() * line 262 of /backup/util/helper/copy_helper.class.php: call to copy_helper::map_backupids_to_restore_controller() * line 54 of /lib/classes/task/backup_cleanup_task.php: call to copy_helper::cleanup_orphaned_copy_controllers() * line 410 of /lib/classes/cron.php: call to core\task\backup_cleanup_task->execute() * line 208 of /lib/classes/cron.php: call to core\cron::run_inner_scheduled_task() * line 125 of /lib/classes/cron.php: call to core\cron::run_scheduled_tasks() * line 186 of /admin/cli/cron.php: call to core\cron::run_main_process()