Stacktrace:
#7 Exception in /var/www/html/admin/libraries/utility.functions.php:204
#6 die_freepbx in /var/www/html/admin/libraries/BMO/Database.class.php:142
#5 PDOException in /var/www/html/admin/libraries/BMO/Database.class.php:137
#4 PDO:__construct in /var/www/html/admin/libraries/BMO/Database.class.php:137
#3 FreePBX\Database:__construct in /var/www/html/admin/libraries/BMO/FreePBX.class.php:71
#2 FreePBX:__construct in /var/www/html/admin/bootstrap.php:153
#1 require_once in /etc/freepbx.conf:11
#0 include_once in /var/www/html/admin/config.php:100
The error is ‘MySQL Server has gone away’. That means it was running, and now it’s not. At a guess, you’re running out of memory, and MySQL is being killed.
That was my initial thought, the pbx running out of memory.
This pbx is a $5 VM on Vultr 1GB ram. I believe that some users here have the same VM deployed with no issues. I’m not trying to blame it on, but it seems to me that this issue only happens when the pbx firewall is running. Is there any way I can troubleshoot that?
I understand that, some users here said that they have $5 instances running just fine. my question is how i can troubleshoot what is actually eating the memory that causes mysql to stop?