( ! ) Warning: mysqli::real_connect(): (HY000/1040): Too many connections in /home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 81
Call Stack
#TimeMemoryFunctionLocation
10.0001439320{main}( ).../index.php:0
20.0001439728require( '/home/bitrix/ext_www/domplitok.ru/bitrix/header.php ).../index.php:3
30.0001440152require_once( '/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/include/prolog.php ).../header.php:1
40.0001440552require_once( '/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/include/prolog_before.php ).../prolog.php:10
50.0001443488require_once( '/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/include.php ).../prolog_before.php:19
60.2257832680Bitrix\Main\HttpContext->initializeCulture( $definedSite = NULL, $definedLanguage = NULL ).../include.php:51
70.2259832808Bitrix\Main\SiteTable::getByDomain( $host = 'domplitok.ru', $directory = '/catalog/' ).../httpcontext.php:100
80.2259833560Bitrix\Main\ORM\Data\DataManager::getList( $parameters = ['select' => [0 => '*'], 'filter' => ['=ACTIVE' => 'Y'], 'order' => ['DIR_LENGTH' => 'DESC', 'DOMAIN_LIMITED' => 'DESC', 'SORT' => 'ASC'], 'cache' => ['ttl' => 86400]] ).../site.php:144
90.2266856792Bitrix\Main\ORM\Query\Query->exec( ).../datamanager.php:513
100.2266856792Bitrix\Main\ORM\Query\Query->buildQuery( $forceObjectPrimary = ??? ).../query.php:937
110.2281889184Bitrix\Main\ORM\Query\Query->buildWhere( ).../query.php:2483
120.2281890976CAllSQLWhere->GetQuery( $arFilter = ['=ACTIVE' => 'Y'] ).../query.php:2245
130.2282891760CAllSQLWhere->GetQueryEx( $arFilter = ['=ACTIVE' => 'Y'], $arJoins = ['table' => 0], $level = ??? ).../sqlwhere.php:281
140.2282891824CAllSQLWhere->addStringFilter( $result = [], $isMultiple = FALSE, $FIELD_NAME = '`main_site`.`ACTIVE`', $operation = 'I', $value = 'Y' ).../sqlwhere.php:405
150.2282891824CAllDatabase->ForSql( $strValue = 'Y', $iMaxLength = ??? ).../sqlwhere.php:762
160.2282891824CAllDatabase->DoConnect( $connectionName = ??? ).../database.php:703
170.2282891824Bitrix\Main\Data\Connection->getResource( ).../database.php:305
180.2282891824Bitrix\Main\DB\MysqliConnection->connectInternal( ).../connection.php:53
190.2282892288real_connect( $hostname = 'localhost', $username = 'userdomplitok', $password = '[Sensitive Parameter]', $database = 'dbdomplitok' ).../mysqliconnection.php:81

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/db/mysqliconnection.php:81) in /home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/httpresponse.php on line 236
Call Stack
#TimeMemoryFunctionLocation
10.2461941392Bitrix\Main\Diag\ExceptionHandler->handleException( $exception = class Bitrix\Main\DB\ConnectionException { protected $message = 'Mysql connect error [localhost]: (1040) Too many connections'; private string ${Exception}string = ''; protected $code = 400; protected string $file = '/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/db/mysqliconnection.php'; protected int $line = 86; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...]]; private ?Throwable ${Exception}previous = NULL; protected $databaseMessage = '(1040) Too many connections' }, $logType = ??? ).../exceptionhandler.php:0
20.2462941560Bitrix\Main\Diag\HttpExceptionHandlerOutput->renderExceptionMessage( $exception = class Bitrix\Main\DB\ConnectionException { protected $message = 'Mysql connect error [localhost]: (1040) Too many connections'; private string ${Exception}string = ''; protected $code = 400; protected string $file = '/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/db/mysqliconnection.php'; protected int $line = 86; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...]]; private ?Throwable ${Exception}previous = NULL; protected $databaseMessage = '(1040) Too many connections' }, $debug = TRUE ).../exceptionhandler.php:274
30.2462941832Bitrix\Main\HttpResponse->writeHeaders( ).../httpexceptionhandleroutput.php:20
40.2462941832Bitrix\Main\HttpResponse->flushStatus( ).../httpresponse.php:173
50.2462941952header( $header = 'HTTP/1.0 500 Internal Server Error' ).../httpresponse.php:236
[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost]: (1040) Too many connections (400)
/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/db/mysqliconnection.php:86
#0: Bitrix\Main\DB\MysqliConnection->connectInternal
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/data/connection.php:53
#1: Bitrix\Main\Data\Connection->getResource
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/classes/general/database.php:305
#2: CAllDatabase->DoConnect
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/classes/general/database.php:703
#3: CAllDatabase->ForSql
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/classes/general/sqlwhere.php:762
#4: CAllSQLWhere->addStringFilter
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/classes/general/sqlwhere.php:405
#5: CAllSQLWhere->GetQueryEx
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/classes/general/sqlwhere.php:281
#6: CAllSQLWhere->GetQuery
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/orm/query/query.php:2245
#7: Bitrix\Main\ORM\Query\Query->buildWhere
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/orm/query/query.php:2483
#8: Bitrix\Main\ORM\Query\Query->buildQuery
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/orm/query/query.php:937
#9: Bitrix\Main\ORM\Query\Query->exec
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/orm/data/datamanager.php:513
#10: Bitrix\Main\ORM\Data\DataManager::getList
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/site.php:144
#11: Bitrix\Main\SiteTable::getByDomain
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/lib/httpcontext.php:100
#12: Bitrix\Main\HttpContext->initializeCulture
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/include.php:51
#13: require_once(string)
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/include/prolog_before.php:19
#14: require_once(string)
	/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/include/prolog.php:10
#15: require_once(string)
	/home/bitrix/ext_www/domplitok.ru/bitrix/header.php:1
#16: require(string)
	/home/bitrix/ext_www/domplitok.ru/catalog/index.php:3
----------