[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost]: (1040) Too many connections (400)
/var/www/html/bitrix/modules/main/lib/db/mysqliconnection.php:65
#0: Bitrix\Main\DB\MysqliConnection->connectInternal
	/var/www/html/bitrix/modules/main/lib/db/mysqliconnection.php:122
#1: Bitrix\Main\DB\MysqliConnection->queryInternal
	/var/www/html/bitrix/modules/main/lib/db/connection.php:330
#2: Bitrix\Main\DB\Connection->query
	/var/www/html/bitrix/modules/main/lib/db/connection.php:379
#3: Bitrix\Main\DB\Connection->queryExecute
	/var/www/html/bitrix/php_interface/after_connect_d7.php:3
#4: include(string)
	/var/www/html/bitrix/modules/main/lib/db/connection.php:984
#5: Bitrix\Main\DB\Connection->afterConnected
	/var/www/html/bitrix/modules/main/lib/db/mysqliconnection.php:81
#6: Bitrix\Main\DB\MysqliConnection->connectInternal
	/var/www/html/bitrix/modules/main/lib/db/mysqliconnection.php:122
#7: Bitrix\Main\DB\MysqliConnection->queryInternal
	/var/www/html/bitrix/modules/main/lib/db/connection.php:330
#8: Bitrix\Main\DB\Connection->query
	/var/www/html/bitrix/modules/main/lib/db/connection.php:358
#9: Bitrix\Main\DB\Connection->queryScalar
	/var/www/html/bitrix/modules/security/lib/session.php:114
#10: Bitrix\Security\SessionTable::lock
	/var/www/html/bitrix/modules/security/classes/general/session_db.php:52
#11: CSecuritySessionDB::read
	/var/www/html/bitrix/modules/security/classes/general/session_handler.php:23
#12: CSecuritySessionHandler->read
	
#13: session_start
	/var/www/html/bitrix/modules/main/include.php:289
#14: require_once(string)
	/var/www/html/bitrix/modules/main/include/prolog_before.php:14
#15: require_once(string)
	/var/www/html/bitrix/modules/main/include/prolog.php:10
#16: require_once(string)
	/var/www/html/bitrix/header.php:1
#17: require(string)
	/var/www/html/magazin/index.php:2
#18: include_once(string)
	/var/www/html/bitrix/modules/main/include/urlrewrite.php:159
#19: include_once(string)
	/var/www/html/bitrix/urlrewrite.php:2