SQLSTATE[08004] [1040] Too many connections
#0 [internal function]: PDO->__construct('mysql:host=loca...', 'root', '1124', Array)
#1 [internal function]: Phalcon\Db\Adapter\Pdo->connect(Array)
#2 /var/www/win/app/config/services.php(158): 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('database3', NULL)
#6 [internal function]: Phalcon\Di->getShared('database3')
#7 [internal function]: Phalcon\Mvc\Model\Manager->_getConnection(Object(Setting), Array)
#8 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(Setting))
#9 [internal function]: Phalcon\Mvc\Model->getReadConnection()
#10 [internal function]: Phalcon\Mvc\Model\MetaData\Strategy\Introspection->getMetaData(Object(Setting), Object(Phalcon\Di\FactoryDefault))
#11 [internal function]: Phalcon\Mvc\Model\MetaData->_initialize(Object(Setting), 'setting-setting', 'setting', '')
#12 [internal function]: Phalcon\Mvc\Model\MetaData->readMetaData(Object(Setting))
#13 [internal function]: Phalcon\Mvc\Model\MetaData->hasAttribute(Object(Setting), 'key')
#14 [internal function]: Phalcon\Mvc\Model\Query->_getQualified(Array)
#15 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array, true)
#16 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array)
#17 [internal function]: Phalcon\Mvc\Model\Query->_prepareSelect()
#18 [internal function]: Phalcon\Mvc\Model\Query->parse()
#19 [internal function]: Phalcon\Mvc\Model\Query->execute()
#20 /var/www/win/app/controllers/ControllerBase.php(222): Phalcon\Mvc\Model::findFirst(Array)
#21 /var/www/win/app/controllers/VrayController.php(18): ControllerBase->all('kl8sb', 'analyTarget')
#22 [internal function]: VrayController->cpzyAction('analyTarget', 'kl8sb')
#23 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(VrayController), 'cpzyAction', Array)
#24 [internal function]: Phalcon\Dispatcher->dispatch()
#25 /var/www/win/public/index.php(45): Phalcon\Mvc\Application->handle()
#26 {main}