[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost]: (1040) Too many connections (400)
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:65
#0: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:122
#1: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:329
#2: Bitrix\Main\DB\Connection->query(string, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:378
#3: Bitrix\Main\DB\Connection->queryExecute(string)
	/home/bitrix/www/bitrix/php_interface/after_connect_d7.php:2
#4: include(string)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:920
#5: Bitrix\Main\DB\Connection->afterConnected()
	/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:81
#6: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:122
#7: Bitrix\Main\DB\MysqliConnection->queryInternal(string, NULL, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:329
#8: Bitrix\Main\DB\Connection->query(string, NULL, integer, integer)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:357
#9: Bitrix\Main\DB\Connection->queryScalar(string)
	/home/bitrix/www/bitrix/modules/security/lib/session.php:110
#10: Bitrix\Security\SessionTable::lock(string, integer)
	/home/bitrix/www/bitrix/modules/security/classes/general/session_db.php:52
#11: CSecuritySessionDB::read(string)
	
#12: session_start()
	/home/bitrix/www/bitrix/modules/main/include.php:269
#13: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#14: require_once(string)
	/home/bitrix/www/bitrix/redirect.php:3