tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauricio Nuñez <mauri...@chile.com>
Subject Help with mod_jk2 + Coyote connector + Apache 2 + TC 4.1.24
Date Thu, 31 Jul 2003 15:20:42 GMT
Hi 

Someone can help me, please

My configuration is the following: 

1) load balancer ( Hardware )
2) 2 Apache2 using mod_jk2 (RedHat 9)
3) 2 Tomcat4 listen at 8009 using Coyote Connector (RedHat 9) jdk sun 1.4.2
4) 1 Mysql server. (Redhat 7.2 , Mysql 4.0.13)

Our monitor alerts about a 15s timeout after 2-3 hours of activity, but i 
can't get the exact problem. Any help, tip, solution, etc :-) 
The Apaches show MaxClients rearched, but incrementing this number not seem a 
good idea.
The workaround is reboot Tomcats, to release the connections ajp13, but i need 
a better solution

TIA

Mauricio 


From my httpd.conf

<IfModule worker.c>
ServerLimit         16
StartServers         2
MaxClients         400
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

From my workers2.properties:

[channel.apr:tomcat5]
tomcatId=tomcat5
port=8009
host=10.0.0.22
timeout=20000
group=lb

[channel.apr:tomcat6]
tomcatId=tomcat6
port=8009
host=10.0.0.23
timeout=20000
group=lb

[lb:lb]
timeout=5
recovery=30
attempts=2
debug=0

From my server.xml

<Connector 
className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="512"
enableLookups="false" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>









---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message