[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost]: (1040) Too many connections (400)
/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/lib/db/mysqliconnection.php:65
#0: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/lib/data/connection.php:53
#1: Bitrix\Main\Data\Connection->getResource()
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/lib/db/mysqlisqlhelper.php:21
#2: Bitrix\Main\DB\MysqliSqlHelper->forSql(string, integer)
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/lib/data/taggedcache.php:92
#3: Bitrix\Main\Data\TaggedCache->endTagCache()
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/classes/general/cache.php:463
#4: CCacheManager->EndTagCache()
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/classes/general/component.php:1191
#5: CBitrixComponent->endResultCache()
	/wwwhome/leto-realty.ru/repository/www/bitrix/components/bitrix/menu/component.php:109
#6: include(string)
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/classes/general/component.php:605
#7: CBitrixComponent->__includeComponent()
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/classes/general/component.php:103
#8: CBitrixComponent->executeComponent()
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/classes/general/component.php:656
#9: CBitrixComponent->includeComponent(string, array, NULL, boolean)
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/classes/general/main.php:1063
#10: CAllMain->IncludeComponent(string, string, array)
	/wwwhome/leto-realty.ru/repository/www/local/mvc/Main/scripts/_partials/header.phtml:36
#11: include(string)
	/wwwhome/leto-realty.ru/repository/www/local/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:505
#12: Laminas\View\Renderer\PhpRenderer->render(NULL, NULL)
	/wwwhome/leto-realty.ru/repository/www/local/vendor/laminas/laminas-view/src/Helper/Partial.php:61
#13: Laminas\View\Helper\Partial->__invoke(string, array)
	/wwwhome/leto-realty.ru/repository/www/local/vendor/sibirix/sibirix-laminas/src/MvcManager.php:122
#14: Sibirix\Laminas\MvcManager::render(string, array)
	/wwwhome/leto-realty.ru/repository/www/local/templates/.default/header.php:85
#15: include(string)
	/wwwhome/leto-realty.ru/repository/www/local/templates/main/header.php:2
#16: include_once(string)
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/include/prolog_after.php:106
#17: require(string)
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/include/prolog.php:11
#18: require_once(string)
	/wwwhome/leto-realty.ru/repository/www/bitrix/header.php:1
#19: require(string)
	/wwwhome/leto-realty.ru/repository/www/catalog/index.php:2
#20: include_once(string)
	/wwwhome/leto-realty.ru/repository/www/bitrix/modules/main/include/urlrewrite.php:159
#21: include_once(string)
	/wwwhome/leto-realty.ru/repository/www/bitrix/urlrewrite.php:2