users@glassfish.java.net

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

From: Fabio Andrés Miranda <fmiranda_at_grupocesa.com>
Date: Sun, 17 May 2009 09:37:05 -0600

mysql_pconnect() may help.

not the right mailing list, I believe....


----- Original Message -----
From: glassfish_at_javadesktop.org
Date: Sunday, May 17, 2009 9:35 am
Subject: PHP on Glassfish on Solaris 10, beats the h*ll out of competition
To: users_at_glassfish.dev.java.net


> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>