Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is Maxclient of apache?

Status
Not open for further replies.

Staygreen

Technical User
Apr 28, 2009
2
JP
Hi, All

I want to make my web server(apache2.0.53+Tomcat5.0.28+JVM1.4.0.8) to accept over 1000 request at the same time. I found Maxclients is the preferred apache tunning parameter. I wonder how to decide
whether my server is non-threaded or threaded, according to
server CPU model? My server is HP Dl380 G2 with RHEL3 U4 32bit installed. What is the correct setting policy to make
my web server to accept over 1000 client session at the same time. Kindly please help.

============== Part taken from Apache 2.0.x document ====
For non-threaded servers (i.e., prefork), MaxClients translates into the maximum number of child processes that will be launched to serve requests. The default value is 256; to increase it, you must also raise ServerLimit.

For threaded and hybrid servers (e.g. beos or worker) MaxClients restricts the total number of threads that will be available to serve clients. The default value for beos is 50. For hybrid MPMs the default value is 16 (ServerLimit) multiplied by the value of 25 (ThreadsPerChild). Therefore, to increase MaxClients to a value that requires more than 16 processes, you must also raise ServerLimit.
top
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top