-
Bug
-
Resolution: Fixed
-
Minor
-
2.3.4, 2.4, 2.5, 2.6.5, 2.7.3, 2.8.1, 2.9.2
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
-
MDL-40245_master -
When attempting to download all assignment submissions the process can fail due to the function creating the zip file running into a maximum execution timeout.
To avoid this we can add a time limit override of 300 seconds.
This issue was found when assignments for a media subject were in excess of 1GB.
My proposed fix for this is to increase the timeout to 300 seconds for both the assignment and assign module. My Commit can be found here:
https://github.com/mdikih/moodle/commit/e2607b648adbf72faa8e6656c2c7fca30767eae7
If you have any questions please feel free to ask.
Testing procedure:
1. Create an assignment or assign activity
2. Upload several large assignments (Music or Media of some variety)
3. Download all assignments
4-if. If this patch is not applied eventually when the size of the assignments gets large enough a fatal error will be thrown saying the maximum execution timeout has been reached.
4-else. Else if the patch is applied the file should download successfully.
- duplicates
-
MDL-47820 Download all assignements in activity task
-
- Closed
-
- has a non-specific relationship to
-
MDL-43815 Configurable size limit for "Download all submissions" feature to prevent performance problems
-
- Closed
-
-
MDL-45783 plugin modifies default timeout in locallib and backup is affected
-
- Closed
-
- has been marked as being related by
-
MDL-46837 automated_backups intermittently fail when large courses are included
-
- Closed
-
-
MDL-48220 Sending large file fails because of php 30 seconds timeout
-
- Closed
-
- will be (partly) resolved by
-
MDL-52041 Use progress bar durring zip file creation
-
- Closed
-
- will help resolve
-
MDL-38148 Large assignment files are created in /moodledata/temp folder (Moodle 2.3.1+)
-
- Closed
-