If you have compiled it in default mode, then you need to only set
prefork MPM. Can you share logs from apache startup, to the point where
it initializes again?
Thanks,
Kshitiz
On Tuesday 23 March 2010 02:22 PM, glassfish_at_javadesktop.org wrote:
> Kshitiz , thanks!
>
> But I have set the httpd.conf, here is it :
>
> -------------------
> # prefork MPM
> # StartServers: number of server processes to start
> # MinSpareServers: minimum number of server processes which are kept spare
> # MaxSpareServers: maximum number of server processes which are kept spare
> # MaxClients: maximum number of server processes allowed to start
> # MaxRequestsPerChild: maximum number of requests a server process serves
> <IfModule prefork.c>
> StartServers 1
> MinSpareServers 1
> MaxSpareServers 1
> MaxClients 1
> MaxRequestsPerChild 0
> </IfModule>
>
> # worker MPM
> # StartServers: initial number of server processes to start
> # MaxClients: maximum number of simultaneous client connections
> # MinSpareThreads: minimum number of worker threads which are kept spare
> # MaxSpareThreads: maximum number of worker threads which are kept spare
> # ThreadsPerChild: constant number of worker threads in each server process
> # MaxRequestsPerChild: maximum number of requests a server process serves
> <IfModule worker.c>
> StartServers 2
> MaxClients 150
> MinSpareThreads 25
> MaxSpareThreads 75
> ThreadsPerChild 25
> MaxRequestsPerChild 0
> </IfModule>
>
> --------------------------
>
> and , when apache handle request , the log show :" server reached MaxClients setting, consider raising the MaxClients setting" , I think it mean the maxclient is just "1".
>
> dose I need set the "worker MPM" too ?
> [Message sent by forum member 'dean_chen']
>
> http://forums.java.net/jive/thread.jspa?messageID=393256
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>