SQLSTATE[HY000] [1040] Too many connections #0 [internal function]: PDO->__construct('mysql:adapter=M...', 'pikweb', '123edc', Array) #1 [internal function]: Phalcon\Db\Adapter\Pdo->connect(Array) #2 /var/www/new.pik.ru/apps/frontend/config/services.php(38): Phalcon\Db\Adapter\Pdo->__construct(Array) #3 [internal function]: {closure}() #4 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault)) #5 [internal function]: Phalcon\Di->get('db_news', NULL) #6 [internal function]: Phalcon\Di->getShared('db_news') #7 [internal function]: Phalcon\Mvc\Model\Manager->_getConnection(Object(Models\News\News), Array) #8 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(Models\News\News)) #9 [internal function]: Phalcon\Mvc\Model->getReadConnection() #10 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, Array, Array) #11 [internal function]: Phalcon\Mvc\Model\Query->execute() #12 /var/www/new.pik.ru/apps/common/services/News.php(18): Phalcon\Mvc\Model::findFirst(false) #13 /var/www/new.pik.ru/apps/frontend/controllers/NewsController.php(78): Services\News->getCurrent(false) #14 [internal function]: Frontend\Controllers\NewsController->currentAction(3, '5745') #15 [internal function]: Phalcon\Dispatcher->dispatch() #16 /var/www/new.pik.ru/public/index.php(30): Phalcon\Mvc\Application->handle() #17 {main}