A single user creating nodes continously results in PDOException: SQLSTATE  Too many connections in lock_may_be_available() exception.
To simulate the problem, create nodes (e.g. article) continuously. Typcially on my machine i get the exception on creating 44 nodes.
my machine is a WAMP stack on Windows 7 with 3GB memory and i5 processor
Steps to create:
1. Login as admin
2. create a shortcut to node/add/article and call the short cut Article
3. run the attached seleinum test (which just creates nodes with text hello
after creating 44 nodes, the above exception occurs.
I've marked this as critical as the apachae has to be restarted for the site to start working again.
|PASSED: [[SimpleTest]]: [MySQL] 33,986 pass(es).|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 930876-too-many-connections.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots.|
|PASSED: [[SimpleTest]]: [MySQL] 39,092 pass(es).|