tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Diedler <adied...@tecracer.de>
Subject AW: AW: Tomcat Cluster 6.x and HTTP/1.1 503 Service Temporarily Unavailable
Date Mon, 01 Feb 2010 11:17:32 GMT
Hi Mark,
I attach my current settings:
In httpd.conf:
ThreadLimit 1920
ThreadsPerChild 1920
MaxRequestsPerChild 10000


Worker.properties
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=worker1 worker2
worker.loadbalancer.sticky_session=true
worker.loadbalancer.sticky_session_force=false
worker.loadbalancer.method=Busyness
worker.loadbalancer.retries=4
worker.loadbalancer.secret=XXXXXXXX


server.xml: <Connector 	port="8010" 
			protocol="AJP/1.3" 
			connectionTimeout="30000"
			redirectPort="8444" 
			request.useSecret="true" 
			request.secret="XXXXX"
			maxThreads="10000"
			tcpNoDelay="true" />


<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
                 channelSendOptions="8">

          <Manager className="org.apache.catalina.ha.session.DeltaManager"
                   expireSessionsOnShutdown="false"
                   notifyListenersOnReplication="true"/>

          <Channel className="org.apache.catalina.tribes.group.GroupChannel">
            <Membership className="org.apache.catalina.tribes.membership.McastService"
                        address="228.0.0.4"
                        port="45564"
                        frequency="500"
                        dropTime="3000"/>
            <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver"
                      address="auto"
                      port="4000"
                      autoBind="100"
                      selectorTimeout="5000"
                      maxThreads="6"/>

            <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
              <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
            </Sender>
            <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
            <Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
          </Channel>

          <Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
                 filter=""/>
          <Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>
          <ClusterListener className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>
          <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/>
        </Cluster>         

-----Urspr√ľngliche Nachricht-----
Von: Mark Thomas [mailto:markt@apache.org] 
Gesendet: Montag, 1. Februar 2010 11:51
An: Tomcat Users List
Betreff: Re: AW: Tomcat Cluster 6.x and HTTP/1.1 503 Service Temporarily Unavailable

On 01/02/2010 07:40, Alexander Diedler wrote:
> 44 requests currently being processed, 1656 idle workers

I doubt you have that many AJP threads available on Tomcat.

AJP connector config in server.xml?
mod_jk config in httpd.conf?

Looks like my guess was right.

Mark



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


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


Mime
View raw message