SQLSTATE[08004] [1040] Too many connections
#0 [internal function]: PDO->__construct('mysql:host=172....', 'ecourt', 'ecourt@123', Array)
#1 [internal function]: Phalcon\Db\Adapter\Pdo->connect(Array)
#2 /var/www/app/config/services.php(126): Phalcon\Db\Adapter\Pdo->__construct(Array)
#3 [internal function]: Closure->{closure}()
#4 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#5 [internal function]: Phalcon\Di->get('db', NULL)
#6 [internal function]: Phalcon\Di->getShared('db')
#7 [internal function]: Phalcon\Mvc\Model\Manager->_getConnection(Object(Mcms\Models\Sottogolpo), NULL)
#8 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(Mcms\Models\Sottogolpo))
#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 [internal function]: Phalcon\Mvc\Model::findFirst(Array)
#13 [internal function]: Phalcon\Mvc\Model::_invokeFinder('findFirstByid', Array)
#14 /var/www/app/controllers/SottogolpoController.php(564): Phalcon\Mvc\Model::__callStatic('findFirstByid', Array)
#15 /var/www/app/controllers/SottogolpoController.php(564): Mcms\Models\Sottogolpo::findFirstByid('317')
#16 [internal function]: Mcms\Controllers\SottogolpoController->detailsgolpoAction('317')
#17 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Mcms\Controllers\SottogolpoController), 'detailsgolpoAct...', Array)
#18 [internal function]: Phalcon\Dispatcher->_dispatch()
#19 [internal function]: Phalcon\Dispatcher->dispatch()
#20 /var/www/public/index.php(30): Phalcon\Mvc\Application->handle()
#21 {main}