SQLSTATE[08006] [7] FATAL: sorry, too many clients already
#0 [internal function]: PDO->__construct('pgsql:host=192....', 'postgres', NULL, Array)
#1 [internal function]: Phalcon\Db\Adapter\Pdo->connect(Array)
#2 [internal function]: Phalcon\Db\Adapter\Pdo\Postgresql->connect(Array)
#3 /home/japan_prod/japan/src/app/config/services.php(171): Phalcon\Db\Adapter\Pdo->__construct(Array)
#4 [internal function]: Closure->{closure}()
#5 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#6 /home/japan_prod/japan/src/app/services/SiteService.php(20): Phalcon\Di->get('db')
#7 /home/japan_prod/japan/src/app/config/services.php(285): App\Services\SiteService->__construct()
#8 [internal function]: Closure->{closure}()
#9 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#10 /home/japan_prod/japan/src/app/config/propertyAdapterConfig.php(7): Phalcon\Di->get('site')
#11 /home/booom_prod/property-search-japan/config/PropertyServices.php(45): include('/home/japan_pro...')
#12 [internal function]: Property\Config\PropertyServices->Property\Config\{closure}()
#13 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#14 /home/booom_prod/property-search-japan/config/PropRoutes.php(30): Phalcon\Di->get('propertyAdapter...')
#15 /home/japan_prod/japan/src/app/config/routes.php(8): Property\Config\PropRoutes::getRoutes()
#16 /home/japan_prod/japan/src/app/config/services.php(317): require('/home/japan_pro...')
#17 [internal function]: Closure->{closure}()
#18 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#19 [internal function]: Phalcon\Di->get('router', NULL)
#20 [internal function]: Phalcon\Di->getShared('router')
#21 /home/japan_prod/japan/src/public/index.php(36): Phalcon\Mvc\Application->handle()
#22 {main}