I have a large PHP/MySQL application where infrequently it will break with the error:
"already has more than max_user_connections active connections in xyz.php"
The max_user_connections limit is already set to 100 but I would prefer to see if there is an issue with my application, such as open connections or bad connections that is causing this.
I've monitored the active processes in PHPMyAdmin and can not see any that particularly hang or seem an issue.
Is there any suggestions on how to debug my code or find any possible causes to this? Would it be specifically in the xyz.php file mentioned, or is this just because my mysql connection classes are in there? The error is so temporary, only for seconds, I'm at a loss on how to hunt the cause down.