Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000] [1040] Too many connections in db_select() (line 2579 of /data/www/drupal/includes/database/database.inc).

Additional

PDOException: SQLSTATE[HY000] [1040] Too many connections in lock_may_be_available() (line 167 of /data/www/drupal/includes/lock.inc).