by Christian Stehle.
Hello,
it seems that our automatic backup process (also if using the cli backup.php for a specific course) is not saving big courses. We have failed backups in the temp/backup dir which fills up our server. (Moodle 2.8)
The backup process fails with "Mysql Server has gone away".
All php.ini settings seem ok:
max_execution_time = 600
mysql.connect_timeout = 600
max_input_time = 600
memory_limit = 256M
mysqli.reconnect = On
in Moodle-Config: Extra PHP memory limit 2048M
I don't think it's a timeout problem, a backup with 8GB Data fails after 7 Min, a course with 2GB after 2 Min.
We're hosting the database on a dedicated server with HAproxy, the timeouts are also long enough.
Maybe I did miss a setting?
Any help would be great!
Christian