[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost]: (1040) Too many connections (400)
/var/www/altaigroup.ru/htdocs/bitrix/modules/main/lib/db/mysqliconnection.php:65
#0: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/var/www/altaigroup.ru/htdocs/bitrix/modules/main/lib/db/mysqliconnection.php:122
#1: Bitrix\Main\DB\MysqliConnection->queryInternal(string, NULL, NULL)
	/var/www/altaigroup.ru/htdocs/bitrix/modules/main/lib/db/connection.php:329
#2: Bitrix\Main\DB\Connection->query(string, NULL, integer, integer)
	/var/www/altaigroup.ru/htdocs/bitrix/modules/main/lib/db/connection.php:357
#3: Bitrix\Main\DB\Connection->queryScalar(string)
	/var/www/altaigroup.ru/htdocs/bitrix/modules/security/lib/session.php:111
#4: Bitrix\Security\SessionTable::lock(string, integer)
	/var/www/altaigroup.ru/htdocs/bitrix/modules/security/classes/general/session_db.php:52
#5: CSecuritySessionDB::read(string)
	
#6: session_start()
	/var/www/altaigroup.ru/htdocs/bitrix/modules/main/include.php:1
#7: require_once(string)
	/var/www/altaigroup.ru/htdocs/bitrix/modules/main/include/prolog_before.php:14
#8: require_once(string)
	/var/www/altaigroup.ru/htdocs/bitrix/modules/main/include/prolog.php:10
#9: require_once(string)
	/var/www/altaigroup.ru/htdocs/bitrix/header.php:1
#10: require(string)
	/var/www/altaigroup.ru/htdocs/catalog/index.php:2
#11: include_once(string)
	/var/www/altaigroup.ru/htdocs/bitrix/modules/main/include/urlrewrite.php:159
#12: include_once(string)
	/var/www/altaigroup.ru/htdocs/bitrix/urlrewrite.php:2

Fatal error: Uncaught exception 'Bitrix\Main\DB\ConnectionException' with message 'Mysql connect error [localhost]: (1040) Too many connections' in /var/www/altaigroup.ru/htdocs/bitrix/modules/main/lib/db/mysqliconnection.php:65 Stack trace: #0 /var/www/altaigroup.ru/htdocs/bitrix/modules/main/lib/db/mysqlcommonconnection.php(130): Bitrix\Main\DB\MysqliConnection->connectInternal() #1 /var/www/altaigroup.ru/htdocs/bitrix/modules/main/lib/db/connection.php(715): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session') #2 /var/www/altaigroup.ru/htdocs/bitrix/modules/main/lib/db/sqlhelper.php(387): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID') #3 /var/www/altaigroup.ru/htdocs/bitrix/modules/main/lib/entity/datamanager.php(815): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', 'FHiAMxphjPcSITm...') #4 /var/www/altaigroup.ru/htdocs/bitrix/modules/security/classes/general/session_db.php(92): Bitrix\Main\Entity\DataManager::delete('FHiAMxphjPcSITm...') #5 [internal in /var/www/altaigroup.ru/htdocs/bitrix/modules/main/lib/db/mysqliconnection.php on line 65