5.10 Updates taking more memory?

It’s only the actual update process that runs out of memory. Once the update is complete I can go back to 1G with no problems.

Here’s what I observe:

  • Updating from the interface fails w/ a generic Error 500
  • laravel.log contains no errors
  • worker.log contains no errors
  • nginx error.log contains no errors
  • php-fpm.log contains no errors
  • supervisord.log contains no errors
  • /var/log/messages (syslog) contains errors as follows:
invoiceninja php[29913]: PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 36864 bytes) in /var/www/invoiceninja/app/Http/Controllers/SelfUpdateController.php on line 88
invoiceninja php[29913]: PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 32768 bytes) in /var/www/invoiceninja/app/Exceptions/Handler.php on line 243
invoiceninja php[29913]: PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 36864 bytes) in Unknown on line 0

That gave me just enough info to track down the php.ini memory limit as the problem

1 Like