Hi,

I use apache-2.2.4 together with mod_jk-1.2.25 to load balance a bunch
of tomcat-5.5.25 servers. All servers are running on Solaris 10 and are
implemented as zones.

The setup works really good during normal operation. But when a server
dies for some reason, and with it the zones running tomcat, mod_jk does
not stop sending requests to the unavailable tomcats until the operating
system times out the tcp connect. This takes more than a few minutes.

Reading the documentation suggests that socket_timeout is the appropiate
setting to deal with this problem but does not work on Solaris. I could
not find any usable settings in Solaris itself, so I am hoping this can
be solved with mod_jk configuration.

What is the correct way to have mod_jk recognize the tomcats as
unavailable more quickly on Solaris?

Below you can find my current mod_jk configuration.

Thanks

Christian

#############################################

# default worker list
worker.list=escenic,jkstatus

# worker template
worker.template.port=9009
worker.template.type=ajp13
worker.template.lbfactor=1
worker.template.socket_keepalive=0
worker.template.connect_timeout=10000
worker.template.reply_timeout=40000
worker.template.connection_pool_timeout=30

# workers definition
worker.escapp1.reference=worker.template
worker.escapp1.host=apppubl1.online.local

...
...
...

# load balancer definition
worker.escenic.type=lb
worker.escenic.max_reply_timeouts=3
worker.escenic.balance_workers=escapp1,escapp9,escapp3,escapp4,escapp5,escapp6,escapp7,escapp8
worker.escenic.sticky_session=1.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to