exception 'PDOException' with message 'SQLSTATE[HY000] [1040] Too many connections' in /var/www/php-libs/library/Zend/Db/Adapter/Pdo/Abstract.php:129
Stack trace:
#0 /var/www/php-libs/library/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('mysql:host=172....', 'common', 'c5VTxn4nw94PV9W...', Array)
#1 /var/www/php-libs/library/Zend/Db/Adapter/Pdo/Mysql.php(109): Zend_Db_Adapter_Pdo_Abstract->_connect()
#2 /var/www/php-libs/library/Zend/Db/Adapter/Abstract.php(459): Zend_Db_Adapter_Pdo_Mysql->_connect()
#3 /var/www/php-libs/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array)
#4 /var/www/php-libs/library/Zend/Db/Adapter/Abstract.php(736): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select), Array)
#5 /var/www/php-libs/app/services/RegionX.php(285): Zend_Db_Adapter_Abstract->fetchAll(Object(Zend_Db_Select))
#6 /var/www/php-libs/app/services/RegionX.php(456): App_Service_RegionX->gettree()
#7 /var/www/php-libs/app/Bootstrap.php(124): App_Service_RegionX->getTreeForRouter()
#8 /var/www/php-libs/library/Zend/Application/Bootstrap/BootstrapAbstract.php(669): Bootstrap->_initRoutes()
#9 /var/www/php-libs/library/Zend/Application/Bootstrap/BootstrapAbstract.php(622): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('routes')
#10 /var/www/php-libs/library/Zend/Application/Bootstrap/BootstrapAbstract.php(586): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL)
#11 /var/www/php-libs/library/Zend/Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap(NULL)
#12 /var/www/public/index.php(28): Zend_Application->bootstrap()
#13 {main}

Next exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[HY000] [1040] Too many connections' in /var/www/php-libs/library/Zend/Db/Adapter/Pdo/Abstract.php:144
Stack trace:
#0 /var/www/php-libs/library/Zend/Db/Adapter/Pdo/Mysql.php(109): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /var/www/php-libs/library/Zend/Db/Adapter/Abstract.php(459): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /var/www/php-libs/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array)
#3 /var/www/php-libs/library/Zend/Db/Adapter/Abstract.php(736): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select), Array)
#4 /var/www/php-libs/app/services/RegionX.php(285): Zend_Db_Adapter_Abstract->fetchAll(Object(Zend_Db_Select))
#5 /var/www/php-libs/app/services/RegionX.php(456): App_Service_RegionX->gettree()
#6 /var/www/php-libs/app/Bootstrap.php(124): App_Service_RegionX->getTreeForRouter()
#7 /var/www/php-libs/library/Zend/Application/Bootstrap/BootstrapAbstract.php(669): Bootstrap->_initRoutes()
#8 /var/www/php-libs/library/Zend/Application/Bootstrap/BootstrapAbstract.php(622): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('routes')
#9 /var/www/php-libs/library/Zend/Application/Bootstrap/BootstrapAbstract.php(586): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL)
#10 /var/www/php-libs/library/Zend/Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap(NULL)
#11 /var/www/public/index.php(28): Zend_Application->bootstrap()
#12 {main}