I just ran a test to see why a php script takes 15 minutes on a linuxbox when quering MySQL.
On the solaris machine it takes 1 minute, but fails with "Too many connections".
It seemed the php script creates the maximum of 500 threads to query the database. I had to use explicit mysql_close() instructions to make sure all threads got closed.
This never happened on the linux box with apache....
wooow....
[Message sent by forum member 'madmax007' (madmax007)]
http://forums.java.net/jive/thread.jspa?messageID=346529