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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to