users@glassfish.java.net

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

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Sun, 17 May 2009 12:22:28 -0400

PHP's configuration had always been either prefork or worker
http://www.camelrichard.org/apache-prefork-vs-worker
as you can see single processor favoured worker, multi-processor favored prefork

from PHP5 on thread handling was relegated to fastcgi module as architecturally apache handles html,images and css statically and any PHP requests will be handled by PHP

discussion available at
http://ivan.gudangbaca.com/installing_apache2_and_php5_using_mod_fcgid

*please ping offline as php is O/T for this list*
thanks,
Martin Gainty
______________________________________________
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut ętre privilégié. Si vous n'ętes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert ŕ l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement ętre sujets ŕ la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> From: fmiranda_at_grupocesa.com
> To: users_at_glassfish.dev.java.net
> Date: Sun, 17 May 2009 09:37:05 -0600
> Subject: Re: PHP on Glassfish on Solaris 10, beats the h*ll out of competition
>
>
> 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
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

_________________________________________________________________
Hotmail® goes with you.
http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009