Fatal error: Uncaught exception 'Bitrix\Main\DB\ConnectionException' with message 'Mysql connect error [localhost]: (1040) Too many connections' in /var/www/main/pub/bitrix/modules/main/lib/db/mysqliconnection.php:65
Stack trace:
#0 /var/www/main/pub/bitrix/modules/main/lib/db/mysqliconnection.php(123): Bitrix\Main\DB\MysqliConnection->connectInternal()
#1 /var/www/main/pub/bitrix/modules/main/lib/db/connection.php(321): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT ID FROM ...', Array, NULL)
#2 /var/www/main/pub/bitrix/modules/main/lib/modulemanager.php(20): Bitrix\Main\DB\Connection->query('SELECT ID FROM ...')
#3 /var/www/main/pub/bitrix/modules/main/lib/loader.php(77): Bitrix\Main\ModuleManager::getInstalledModules()
#4 /var/www/main/pub/bitrix/modules/main/classes/general/module.php(261): Bitrix\Main\Loader::includeModule('tiande.configur...')
#5 /var/www/main/pub/local/classes/Helpers/Monolog/Handler/Bitrix24Handler.php(36): CModule::IncludeModule('tiande.configur...')
#6 /var/www/main/pub/vendor/monolog/mo in /var/www/main/pub/bitrix/modules/main/lib/db/mysqliconnection.php on line 65
Fatal error: Uncaught exception 'Bitrix\Main\DB\ConnectionException' with message 'Mysql connect error [localhost]: (1040) Too many connections' in /var/www/main/pub/bitrix/modules/main/lib/db/mysqliconnection.php:65
Stack trace:
#0 /var/www/main/pub/bitrix/modules/main/lib/db/mysqliconnection.php(123): Bitrix\Main\DB\MysqliConnection->connectInternal()
#1 /var/www/main/pub/bitrix/modules/main/lib/db/connection.php(321): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT ID FROM ...', Array, NULL)
#2 /var/www/main/pub/bitrix/modules/main/lib/modulemanager.php(20): Bitrix\Main\DB\Connection->query('SELECT ID FROM ...')
#3 /var/www/main/pub/bitrix/modules/main/lib/loader.php(77): Bitrix\Main\ModuleManager::getInstalledModules()
#4 /var/www/main/pub/bitrix/modules/main/classes/general/module.php(261): Bitrix\Main\Loader::includeModule('tiande.configur...')
#5 /var/www/main/pub/local/classes/Helpers/Monolog/Handler/Bitrix24Handler.php(36): CModule::IncludeModule('tiande.configur...')
#6 /var/www/main/pub/vendor/monolog/mo in /var/www/main/pub/bitrix/modules/main/lib/db/mysqliconnection.php on line 65