site bug

site bug

I keep getting this error. I have to reload the page about 5 times to get a good link to the page I clicked on. 

 

Error

The website encountered an unexpected error. Please try again later.

Error message

PDOException: SQLSTATE[08004] [1040] Too many connections in lock_may_be_available() (line 167 of /var/www/sites/opengameart/includes/lock.inc).