Hello,
We are using apache 2.2.21 on RHEL6.9 and in Backend we are using Tomcat
AppServer with JavaBased CMS.
Our Server Architecture is *(F5 [For Load Balance] -> Apache WebServer [For
Redirection & URL Mapping] -> Tomcat AppServer [Running a Java Based CMS]).*


We are using Apache to connect Tomcat by MOD_JK and mapping the URL
(Attached VirtualHost.conf), and No applications/code are running on
WebServers.

1. Two TomcatServers (8 CPU & 16GB RAM on Each Servers)
2. Two WebServers (4 CPU & 8GB RAM on Each Servers)

*PROBLEM:*
When the Child Process count is reached / crossed 200 like below then site
is not accessible when the child processes reached 300 or More than site
crashed and then we bring the site back by restarting Tomcat & Apache HTTP.
Kindly please check my configuration and help to allow at-least 500
concurrent users.

*CONFIGURATION:*
* httpd.conf*
<IfModule prefork.c>
StartServers         80
ServerLimit 3500
MaxClients 3500
MaxRequestsPerChild  0
</IfModule>
<IfModule worker.c>
StartServers 6
MaxClients 230
MinSpareThreads 75
MaxSpareThreads 150
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

*Tomcat:*
<Connector port="9090" protocol="HTTP/1.1" redirectPort="8443"
URIEncoding="UTF-8" emptySessionPath="true" maxThreads="600"
minSpareThreads="10" connectionTimeout="-1" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"
URIEncoding="UTF-8" maxThreads="600" minSpareThreads="100"
connectionTimeout="20000" acceptCount="2000" />


-- 

-- 

*Thanks & Regards,*
*Jayaram Ponnusamy*
Mobile: +974-5512-3315

Reply via email to