[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, NULL, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#2: Bitrix\Main\DB\Connection->query(string, NULL, integer, integer)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:358
#3: Bitrix\Main\DB\Connection->queryScalar(string)
	/home/bitrix/www/bitrix/modules/main/lib/composite/internals/locker.php:25
#4: Bitrix\Main\Composite\Internals\Locker::lock(string)
	/home/bitrix/www/bitrix/modules/main/lib/composite/engine.php:475
#5: Bitrix\Main\Composite\Engine::processPageContent(string)
	/home/bitrix/www/bitrix/modules/main/lib/composite/engine.php:422
#6: Bitrix\Main\Composite\Engine::endBuffering(string, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3199
#7: CAllMain->EndBufferContent(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3143
#8: CAllMain->EndBufferContentMan()
	/home/bitrix/www/bitrix/modules/main/include/epilog_after.php:39
#9: require(string)
	/home/bitrix/www/bitrix/modules/main/include/epilog.php:3
#10: require_once(string)
	/home/bitrix/www/bitrix/footer.php:4
#11: require(string)
	/home/bitrix/www/catalog/index.php:244
#12: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#13: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2