[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost]: (1040) Too many connections (400)
/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/mysqliconnection.php:65
#0: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/mysqliconnection.php:122
#1: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/connection.php:329
#2: Bitrix\Main\DB\Connection->query(string, NULL)
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/connection.php:378
#3: Bitrix\Main\DB\Connection->queryExecute(string)
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/php_interface/after_connect_d7.php:3
#4: include(string)
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/connection.php:920
#5: Bitrix\Main\DB\Connection->afterConnected()
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/mysqliconnection.php:81
#6: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/mysqliconnection.php:122
#7: Bitrix\Main\DB\MysqliConnection->queryInternal(string, NULL, NULL)
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/connection.php:329
#8: Bitrix\Main\DB\Connection->query(string, NULL, integer, integer)
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/connection.php:357
#9: Bitrix\Main\DB\Connection->queryScalar(string)
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/security/lib/session.php:110
#10: Bitrix\Security\SessionTable::lock(string, integer)
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/security/classes/general/session_db.php:52
#11: CSecuritySessionDB::read(string)
	
#12: session_start()
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/include.php:277
#13: require_once(string)
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/include/prolog_before.php:14
#14: require_once(string)
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/include/prolog.php:10
#15: require_once(string)
	/home/bitrix/ext_www/ohranatruda.ru/bitrix/header.php:1
#16: require(string)
	/home/bitrix/ext_www/ohranatruda.ru/ot_biblio/gost/52848.php:1

Fatal error: Uncaught Bitrix\Main\DB\ConnectionException: Mysql connect error [localhost]: (1040) Too many connections in /home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/mysqliconnection.php:65 Stack trace: #0 /home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/data/connection.php(53): Bitrix\Main\DB\MysqliConnection->connectInternal() #1 /home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/mysqlisqlhelper.php(21): Bitrix\Main\Data\Connection->getResource() #2 /home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/sqlhelper.php(466): Bitrix\Main\DB\MysqliSqlHelper->forSql('XSnbM2bZELQzeOT...', NULL) #3 /home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/entity/stringfield.php(73): Bitrix\Main\DB\SqlHelper->convertToDbString('XSnbM2bZELQzeOT...') #4 /home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/sqlhelper.php(415): Bitrix\Main\Entity\StringField->convertValueToDb('XSnbM2bZELQzeOT...') #5 /home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/sqlhelper in /home/bitrix/ext_www/ohranatruda.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 65