users@glassfish.java.net

PHP on Glassfish on Solaris 10, beats the h*ll out of competition

From: <glassfish_at_javadesktop.org>
Date: Sun, 17 May 2009 03:34:15 PDT

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