-
Sub-task
-
Resolution: Fixed
-
Major
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
-
MDL-41722-master -
I am now testing backup and restore using the XL test course, which is designed to be larger than any course currently on the OU system. (1,000 sections, 50,000 users, etc.)
(The course really is quite large; it won't display unless you increase default memory limit to 256M, and then it takes 50 seconds to show course view, even after it's got cached data. Not sure how much of this is 'latest activity' block killing it, mind.)
With this course, the first screen was a bit slow but did complete just in time (110s); then the 'Schema settings' page times out:
Fatal error: Maximum execution time of 120 seconds exceeded in /fs1/www_root/sm449/coremoodle/lib/pear/HTML/QuickForm.php on line 622 Call Stack: 0.0005 274712 1.
{main}() /fs1/www_root/sm449/coremoodle/backup/backup.php:0 25.8027 220982496 2. base_ui->display() /fs1/www_root/sm449/coremoodle/backup/backup.php:116 25.8027 220982584 3. base_ui_stage->display() /fs1/www_root/sm449/coremoodle/backup/util/ui/base_ui.class.php:150 25.8027 220982664 4. backup_ui_stage_schema->initialise_stage_form() /fs1/www_root/sm449/coremoodle/backup/util/ui/base_ui_stage.class.php:123 26.0266 228089856 5. base_moodleform->add_settings() /fs1/www_root/sm449/coremoodle/backup/util/ui/backup_ui_stage.class.php:267 127.4544 256789072 6. base_moodleform->add_html_formatting() /fs1/www_root/sm449/coremoodle/backup/util/ui/base_moodleform.class.php:169 127.4544 256789256 7. HTML_QuickForm->addElement() /fs1/www_root/sm449/coremoodle/backup/util/ui/base_moodleform.class.php:232 127.4546 256791184 8. array_keys() /fs1/www_root/sm449/coremoodle/lib/pear/HTML/QuickForm.php:622
I think the backup needs similar changes to those I did for restore, which allow it to potentially display a 'Preparing page display' progress bar if there is a massive amount of data to process before displaying the form.