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

Fatal error: Uncaught exception 'Bitrix\Main\DB\ConnectionException' with message 'Mysql connect error [localhost, 127.0.0.1]' in /home/bitrix/www/bitrix/modules/main/lib/db/mysqlconnection.php:50 Stack trace: #0 /home/bitrix/www/bitrix/modules/main/lib/db/mysqlconnection.php(103): Bitrix\Main\DB\MysqlConnection->connectInternal() #1 /home/bitrix/www/bitrix/modules/main/lib/db/connection.php(329): Bitrix\Main\DB\MysqlConnection->queryInternal('SET NAMES 'utf8...', Array, NULL) #2 /home/bitrix/www/bitrix/modules/main/lib/db/connection.php(378): Bitrix\Main\DB\Connection->query('SET NAMES 'utf8...', NULL) #3 /home/bitrix/www/bitrix/php_interface/after_connect_d7.php(3): Bitrix\Main\DB\Connection->queryExecute('SET NAMES 'utf8...') #4 /home/bitrix/www/bitrix/modules/main/lib/db/connection.php(920): include('/home/bitrix/ww...') #5 /home/bitrix/www/bitrix/modules/main/lib/db/mysqlconnection.php(64): Bitrix\Main\DB\Connection->afterConnected() #6 /home/bitrix/www/bitrix/modules/main/lib/db/mysqlcommonconnection.php(130): Bitri in /home/bitrix/www/bitrix/modules/main/lib/db/mysqlconnection.php on line 50