I was checking out videos on NBC's Saturday Night Live website, and I got this error:
Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[08004] [1040] Too many connections' in /var/www/common/classes/Zend/Db/Adapter/Pdo/Abstract.php:131 Stack trace: #0 /var/www/common/classes/Zend/Db/Adapter/Abstract.php(271): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/common/classes/Nbcu/Asset.php(15): Zend_Db_Adapter_Abstract->getConnection() #2 /var/www/common/classes/Nbcu/Controller/Scet/Video.php(11): Nbcu_Asset->__construct() #3 /var/www/www.nbc.com/htdocs/app/bootstrap/scet/video.php(10): Nbcu_Controller_Scet_Video->dispatch() #4 {main} thrown in /var/www/common/classes/Zend/Db/Adapter/Pdo/Abstract.php on line 131
I'm a little surprised that such a high traffic corporate site is running with PHP. Not too surprised about the crappy exception handling though...when higher ups are breathing down your neck handling these sorts of breakdowns often gets pushed to the bottom of the task stack. But with PHP's history of security problems I would think not exposing errors like this is even more important.