Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1040] Too many connections in /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connectors/Connector.php:70 Stack trace: #0 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connectors/Connector.php(70): PDO->__construct('mysql:host=loca...', 'dev_compr', 'T0e3L4s0', Array) #1 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'dev_compr', 'T0e3L4s0', Array) #2 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array) #3 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect(Array) #4 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() #5 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connection.php(1064): call_user_func(Object(Closure)) #6 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connection.php(1100): Illuminate\Database\Connection->getPdo() #7 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connection.php(442): Illuminate\Database\Connection->getReadPdo() #8 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connection.php(368): Illuminate\Database\Connection->getPdoForSelect(true) #9 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connection.php(705): Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from `...', Array) #10 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback('select * from `...', Array, Object(Closure)) #11 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connection.php(376): Illuminate\Database\Connection->run('select * from `...', Array, Object(Closure)) #12 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Query/Builder.php(2414): Illuminate\Database\Connection->select('select * from `...', Array, true) #13 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Query/Builder.php(2402): Illuminate\Database\Query\Builder->runSelect() #14 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Query/Builder.php(2936): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #15 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Query/Builder.php(2403): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure)) #16 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Eloquent/Builder.php(625): Illuminate\Database\Query\Builder->get(Array) #17 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Eloquent/Builder.php(609): Illuminate\Database\Eloquent\Builder->getModels(Array) #18 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Concerns/BuildsQueries.php(294): Illuminate\Database\Eloquent\Builder->get(Array) #19 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Eloquent/Builder.php(400): Illuminate\Database\Eloquent\Builder->first(Array) #20 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->find(35) #21 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Eloquent/Model.php(2132): Illuminate\Database\Eloquent\Model->forwardCallTo(Object(Illuminate\Database\Eloquent\Builder), 'find', Array) #22 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Eloquent/Model.php(2144): Illuminate\Database\Eloquent\Model->__call('find', Array) #23 /var/www/compressortyt/data/www/compressortyt.ru/application/classes/controllers/FrontendController.php(190): Illuminate\Database\Eloquent\Model::__callStatic('find', Array) #24 /var/www/compressortyt/data/www/compressortyt.ru/application/classes/controllers/FrontendController.php(96): app\classes\controllers\FrontendController->mandatorySet() #25 /var/www/compressortyt/data/www/compressortyt.ru/application/classes/controllers/AbstractController.php(18): app\classes\controllers\FrontendController->internalInit() #26 /var/www/compressortyt/data/www/compressortyt.ru/system/core/CodeIgniter.php(259): app\classes\controllers\AbstractController->__construct() #27 /var/www/compressortyt/data/www/compressortyt.ru/index.php(227): require_once('/var/www/compre...') #28 {main} Next Illuminate\Database\QueryException: SQLSTATE[HY000] [1040] Too many connections (SQL: select * from `contacts` where `contacts`.`domain_id` = 35 limit 1) in /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connection.php:712 Stack trace: #0 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback('select * from `...', Array, Object(Closure)) #1 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connection.php(376): Illuminate\Database\Connection->run('select * from `...', Array, Object(Closure)) #2 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Query/Builder.php(2414): Illuminate\Database\Connection->select('select * from `...', Array, true) #3 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Query/Builder.php(2402): Illuminate\Database\Query\Builder->runSelect() #4 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Query/Builder.php(2936): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #5 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Query/Builder.php(2403): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure)) #6 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Eloquent/Builder.php(625): Illuminate\Database\Query\Builder->get(Array) #7 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Eloquent/Builder.php(609): Illuminate\Database\Eloquent\Builder->getModels(Array) #8 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Concerns/BuildsQueries.php(294): Illuminate\Database\Eloquent\Builder->get(Array) #9 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Eloquent/Builder.php(400): Illuminate\Database\Eloquent\Builder->first(Array) #10 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->find(35) #11 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Eloquent/Model.php(2132): Illuminate\Database\Eloquent\Model->forwardCallTo(Object(Illuminate\Database\Eloquent\Builder), 'find', Array) #12 /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Eloquent/Model.php(2144): Illuminate\Database\Eloquent\Model->__call('find', Array) #13 /var/www/compressortyt/data/www/compressortyt.ru/application/classes/controllers/FrontendController.php(190): Illuminate\Database\Eloquent\Model::__callStatic('find', Array) #14 /var/www/compressortyt/data/www/compressortyt.ru/application/classes/controllers/FrontendController.php(96): app\classes\controllers\FrontendController->mandatorySet() #15 /var/www/compressortyt/data/www/compressortyt.ru/application/classes/controllers/AbstractController.php(18): app\classes\controllers\FrontendController->internalInit() #16 /var/www/compressortyt/data/www/compressortyt.ru/system/core/CodeIgniter.php(259): app\classes\controllers\AbstractController->__construct() #17 /var/www/compressortyt/data/www/compressortyt.ru/index.php(227): require_once('/var/www/compre...') #18 {main} thrown in /var/www/compressortyt/data/www/compressortyt.ru/vendor/illuminate/database/Connection.php on line 712