SQLSTATE[08006] [7] FATAL: remaining connection slots are reserved for non-replication superuser connections
#0 [internal function]: PDO->__construct()
#1 [internal function]: Phalcon\Db\Adapter\Pdo\AbstractPdo->connect()
#2 [internal function]: Phalcon\Db\Adapter\Pdo\Postgresql->connect()
#3 [internal function]: Phalcon\Db\Adapter\Pdo\AbstractPdo->__construct()
#4 /var/web/sirbos/web/app/config/services.php(143): Phalcon\Db\Adapter\Pdo\Postgresql->__construct()
#5 [internal function]: Closure->{closure}()
#6 [internal function]: Phalcon\Di\Service->resolve()
#7 [internal function]: Phalcon\Di->get()
#8 [internal function]: Phalcon\Di->getShared()
#9 [internal function]: Phalcon\Mvc\Model\Manager->_getConnection()
#10 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection()
#11 [internal function]: Phalcon\Mvc\Model->getReadConnection()
#12 [internal function]: Phalcon\Mvc\Model\MetaData\Strategy\Introspection->getMetaData()
#13 [internal function]: Phalcon\Mvc\Model\MetaData->initialize()
#14 [internal function]: Phalcon\Mvc\Model\MetaData->readMetaData()
#15 [internal function]: Phalcon\Mvc\Model\MetaData->hasAttribute()
#16 [internal function]: Phalcon\Mvc\Model\Query->_getQualified()
#17 [internal function]: Phalcon\Mvc\Model\Query->_getExpression()
#18 [internal function]: Phalcon\Mvc\Model\Query->_getExpression()
#19 [internal function]: Phalcon\Mvc\Model\Query->_getExpression()
#20 [internal function]: Phalcon\Mvc\Model\Query->_prepareSelect()
#21 [internal function]: Phalcon\Mvc\Model\Query->parse()
#22 [internal function]: Phalcon\Mvc\Model\Query->execute()
#23 [internal function]: Phalcon\Mvc\Model::_groupResult()
#24 /var/web/sirbos/web/app/controllers/ControllerBase.php(54): Phalcon\Mvc\Model::count()
#25 [internal function]: ControllerBase->initialize()
#26 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#27 /var/web/sirbos/web/public/index.php(43): Phalcon\Mvc\Application->handle()
#28 {main}