Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6586

Backups fail due to "Maximum execution time" error

$
0
0
by Rebecca O'Connell.  

I am running: 

  • Moodle 2.6
  • Apache/2.2.15 (Red Hat)
  • PHP Version 5.3.3

Backups of very large courses (>2.7GB) fail with an error: 

PHP Fatal error:  Maximum execution time of 120 seconds exceeded in [path to production folder]/lib/filestorage/zip_archive.php on line 218, referer: [url]/backup/backup.php

I tried raising the max_execution_time to 1200, and phpinfo assures me that that is indeed the current max_execution_time, but I am still getting this error.

It fails on Step 4, very near the end of the backup. It will get over 90% and then just spin until it runs out of time, and when I check the error log, I see the error listed above. 

On our site, most course that get this large do so because they have large question banks with questions containing images and/or sound files.

Might adjusting other php.ini variables, such as max_input_time, help?


Viewing all articles
Browse latest Browse all 6586

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>