( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 439320 | {main}( ) | .../index.php:0 |
2 | 0.0001 | 439728 | require( '/home/bitrix/ext_www/domplitok.ru/bitrix/header.php ) | .../index.php:3 |
3 | 0.0001 | 440152 | require_once( '/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/include/prolog.php ) | .../header.php:1 |
4 | 0.0001 | 440552 | require_once( '/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/include/prolog_before.php ) | .../prolog.php:10 |
5 | 0.0001 | 443488 | require_once( '/home/bitrix/ext_www/domplitok.ru/bitrix/modules/main/include.php ) | .../prolog_before.php:19 |
6 | 0.2257 | 832680 | Bitrix\Main\HttpContext->initializeCulture( $definedSite = NULL, $definedLanguage = NULL ) | .../include.php:51 |
7 | 0.2259 | 832808 | Bitrix\Main\SiteTable::getByDomain( $host = 'domplitok.ru', $directory = '/catalog/' ) | .../httpcontext.php:100 |
8 | 0.2259 | 833560 | Bitrix\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 |
9 | 0.2266 | 856792 | Bitrix\Main\ORM\Query\Query->exec( ) | .../datamanager.php:513 |
10 | 0.2266 | 856792 | Bitrix\Main\ORM\Query\Query->buildQuery( $forceObjectPrimary = ??? ) | .../query.php:937 |
11 | 0.2281 | 889184 | Bitrix\Main\ORM\Query\Query->buildWhere( ) | .../query.php:2483 |
12 | 0.2281 | 890976 | CAllSQLWhere->GetQuery( $arFilter = ['=ACTIVE' => 'Y'] ) | .../query.php:2245 |
13 | 0.2282 | 891760 | CAllSQLWhere->GetQueryEx( $arFilter = ['=ACTIVE' => 'Y'], $arJoins = ['table' => 0], $level = ??? ) | .../sqlwhere.php:281 |
14 | 0.2282 | 891824 | CAllSQLWhere->addStringFilter( $result = [], $isMultiple = FALSE, $FIELD_NAME = '`main_site`.`ACTIVE`', $operation = 'I', $value = 'Y' ) | .../sqlwhere.php:405 |
15 | 0.2282 | 891824 | CAllDatabase->ForSql( $strValue = 'Y', $iMaxLength = ??? ) | .../sqlwhere.php:762 |
16 | 0.2282 | 891824 | CAllDatabase->DoConnect( $connectionName = ??? ) | .../database.php:703 |
17 | 0.2282 | 891824 | Bitrix\Main\Data\Connection->getResource( ) | .../database.php:305 |
18 | 0.2282 | 891824 | Bitrix\Main\DB\MysqliConnection->connectInternal( ) | .../connection.php:53 |
19 | 0.2282 | 892288 | real_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 | ||||
# | Time | Memory | Function | Location |
1 | 0.2461 | 941392 | Bitrix\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 |
2 | 0.2462 | 941560 | Bitrix\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 |
3 | 0.2462 | 941832 | Bitrix\Main\HttpResponse->writeHeaders( ) | .../httpexceptionhandleroutput.php:20 |
4 | 0.2462 | 941832 | Bitrix\Main\HttpResponse->flushStatus( ) | .../httpresponse.php:173 |
5 | 0.2462 | 941952 | header( $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 ----------