The script encountered an error and will be aborted. To view extended error messages, enable this feature in .settings.php.
Fatal error: Uncaught Bitrix\Main\DB\ConnectionException: Mysql connect error [localhost]: (1040) Too many connections in /var/www/mai/bitrix/modules/main/lib/db/mysqliconnection.php:65 Stack trace: #0 /var/www/mai/bitrix/modules/main/lib/db/mysqlcommonconnection.php(130): Bitrix\Main\DB\MysqliConnection->connectInternal() #1 /var/www/mai/bitrix/modules/main/lib/db/connection.php(716): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session') #2 /var/www/mai/bitrix/modules/main/lib/db/sqlhelper.php(387): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID') #3 /var/www/mai/bitrix/modules/main/lib/orm/data/datamanager.php(1140): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', 'LgC7PO8OJ9S1GPI...') #4 /var/www/mai/bitrix/modules/security/classes/general/session_db.php(92): Bitrix\Main\ORM\Data\DataManager::delete(Array) #5 [internal function]: CSecuritySessionDB::write('LgC7PO8OJ9S1GPI...', '') #6 [internal function]: session_write_close() #7 {main} thrown in /var/www/mai/bitrix/modules/main/lib/db/mysqliconnection.php on line 65