[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [127.0.0.1]: (1040) Too many connections (400)
/var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/lib/db/mysqliconnection.php:65
#0: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/lib/db/mysqliconnection.php:122
#1: Bitrix\Main\DB\MysqliConnection->queryInternal(string, NULL, NULL)
	/var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/lib/db/connection.php:329
#2: Bitrix\Main\DB\Connection->query(string, NULL, integer, integer)
	/var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/lib/db/connection.php:357
#3: Bitrix\Main\DB\Connection->queryScalar(string)
	/var/www/www-root/data/www/bitrix_shared/bitrix/modules/security/lib/session.php:111
#4: Bitrix\Security\SessionTable::lock(string, integer)
	/var/www/www-root/data/www/bitrix_shared/bitrix/modules/security/classes/general/session_db.php:52
#5: CSecuritySessionDB::read(string)
	
#6: session_start()
	/var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/include.php:301
#7: require_once(string)
	/var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/include/prolog_before.php:14
#8: require_once(string)
	/var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/include/prolog.php:10
#9: require_once(string)
	/var/www/www-root/data/www/bitrix_shared/bitrix/header.php:1
#10: require(string)
	/var/www/www-root/data/www/ipk74.ru/kafio/index.php:1
#11: include_once(string)
	/var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/include/urlrewrite.php:159
#12: include_once(string)
	/var/www/www-root/data/www/bitrix_shared/bitrix/urlrewrite.php:2

Fatal error: Uncaught exception 'Bitrix\Main\DB\ConnectionException' with message 'Mysql connect error [127.0.0.1]: (1040) Too many connections' in /var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/lib/db/mysqliconnection.php:65 Stack trace: #0 /var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/lib/db/mysqliconnection.php(122): Bitrix\Main\DB\MysqliConnection->connectInternal() #1 /var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/lib/db/connection.php(329): Bitrix\Main\DB\MysqliConnection->queryInternal('?????SELECT FRO...', Array, NULL) #2 /var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/lib/eventmanager.php(248): Bitrix\Main\DB\Connection->query('?????SELECT FRO...') #3 /var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/lib/eventmanager.php(340): Bitrix\Main\EventManager->loadEventHandlers() #4 /var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/lib/eventmanager.php(375): Bitrix\Main\EventManager->findEventHandlers('security', 'SessionOnBefore...', NULL) #5 in /var/www/www-root/data/www/bitrix_shared/bitrix/modules/main/lib/db/mysqliconnection.php on line 65