As the error hints, it's to do with the connection limit being hit, though it is unknown if this is true.
Do you use a PHP function that closes the connection? Because that's something VERY important. Maybe you're getting attacked, getting a lot of users, or it's just some issue on the MySQL server which in that case this wouldn't help at all.