SQLSTATE[08004] [1040] Too many connections

#0 /var/www/dev_activepeople_com/lib/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /var/www/dev_activepeople_com/lib/Varien/Db/Adapter/Pdo/Mysql.php(300): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /var/www/dev_activepeople_com/lib/Zend/Db/Adapter/Abstract.php(858): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /var/www/dev_activepeople_com/lib/Zend/Db/Adapter/Abstract.php(928): Zend_Db_Adapter_Abstract->quote('aitsys_write_pe...', NULL)
#4 /var/www/dev_activepeople_com/lib/Varien/Db/Adapter/Pdo/Mysql.php(1397): Zend_Db_Adapter_Abstract->quoteInto('path = ?', 'aitsys_write_pe...', NULL, NULL)
#5 /var/www/dev_activepeople_com/lib/Zend/Db/Select.php(1000): Varien_Db_Adapter_Pdo_Mysql->quoteInto('path = ?', 'aitsys_write_pe...', NULL)
#6 /var/www/dev_activepeople_com/lib/Zend/Db/Select.php(475): Zend_Db_Select->_where('path = ?', 'aitsys_write_pe...', NULL, true)
#7 /var/www/dev_activepeople_com/lib/Varien/Db/Select.php(123): Zend_Db_Select->where('path = ?', 'aitsys_write_pe...', NULL)
#8 /var/www/dev_activepeople_com/app/code/local/Aitoc/Aitsys/Model/Database.php(60): Varien_Db_Select->where('path = ?', 'aitsys_write_pe...')
#9 /var/www/dev_activepeople_com/app/code/local/Aitoc/Aitsys/Model/Aitfilesystem.php(202): Aitoc_Aitsys_Model_Database->getConfigValue('aitsys_write_pe...', 'normal')
#10 /var/www/dev_activepeople_com/app/code/local/Aitoc/Aitsys/Model/Aitfilesystem.php(180): Aitoc_Aitsys_Model_Aitfilesystem->getPermissionsMode()
#11 /var/www/dev_activepeople_com/app/code/local/Aitoc/Aitsys/Model/Rewriter/Merge.php(112): Aitoc_Aitsys_Model_Aitfilesystem->putFile('/var/www/dev_ac...', 'merge(Array)
#13 /var/www/dev_activepeople_com/app/code/local/Aitoc/Aitsys/Model/Rewriter.php(18): Aitoc_Aitsys_Model_Rewriter->prepare()
#14 /var/www/dev_activepeople_com/app/code/local/Aitoc/Aitsys/Model/Rewriter/Autoload.php(83): Aitoc_Aitsys_Model_Rewriter->preRegisterAutoloader(true)
#15 /var/www/dev_activepeople_com/app/code/local/Mage/Core/Model/App.php(30): Aitoc_Aitsys_Model_Rewriter_Autoload::register(true)
#16 /var/www/dev_activepeople_com/lib/Varien/Autoload.php(93): include('/var/www/dev_ac...')
#17 [internal function]: Varien_Autoload->autoload('Mage_Core_Model...')
#18 /var/www/dev_activepeople_com/app/Mage.php(633): spl_autoload_call('Mage_Core_Model...')
#19 /var/www/dev_activepeople_com/index.php(80): Mage::run('cz', 'website')
#20 {main}