users@glassfish.java.net

Re: my apache load balancer plugin keeping restart (reinitialize) ???

From: <glassfish_at_javadesktop.org>
Date: Tue, 23 Mar 2010 01:52:43 PDT

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