tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauricio Nuñez <mauri...@chile.com>
Subject Re: Help with mod_jk2 + Coyote connector + Apache 2 + TC 4.1.24
Date Thu, 31 Jul 2003 16:46:48 GMT
Thanks. Yesterday i change thats setting from 10000 to 0, assuming the 
persistence of the ajp13 protocol. I'll try your suggestion.

I'll try with jvm bea jrockit also. 

120000 = 2 min.
That's mean 2 min of inactivity?

Someone can explain how analize data from a kill -3 ( thread dump ) .
I can see nothing rare.

TIA

Mauricio


El Jue 31 Jul 2003 12:30, Eric J. Pinnell escribió:
> Hi,
>
> Try playing with the connectionTimout setting in your server.xml.  By
> default it is set at 0.  Try using 120000.  Also experiment with -1.
>
> I have found that the connector resets every once in a while with a 0.
> With 120000 the connection doesn't reset but times out.
>
> I have heard that a -1 means it niether times out or resets, but I haven't
> tried it.
>
> -e
>
> On Thu, 31 Jul 2003, Mauricio [iso-8859-1] Nuñez wrote:
> > 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
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