Any thoughts on the following errors that pop up during a scheduled but manually run backup/restore using SSH from a production server to a hot spare? The distro version is 2.210.62-5
Restoring astDB...
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 352 bytes) in /var/www/html/admin/modules/backup/bin/restore.php on line 310
and seemingly random files (about 100-200) from /tftpboot and /var/…, although they appear to actually restore just fine - they exist with a current timestamp:
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = XXXM
Maybe XXX is not big enough, and big files take a long time to process so caveate implementor
I upped the PHP mem from 128M to 512M, didn’t help. The issues appear to be a result of adding some directories for backup:
/tftpboot
/var/cache/aastra
/var/www/html/aastra/asterisk
/wanpipe
When I remove those directories the errors goes away - including the /var/spool/asterisk/voicemail ones. Hmm…