tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Hole <andremailingl...@gmail.com>
Subject mod_jk - load balancing
Date Wed, 21 Jan 2009 11:14:17 GMT
Hi Guys!

What is the behavior of mod_jk if one of the workers stops?
Mod_jk stops to send requests to that worker? Or it retries at each request
and only after determine that the worker is down , it sends the request to
the fine worker ?


# ----------------------
# Load Balancer worker
# ----------------------
worker.appbalancer.type= lb
worker.appbalancer.balanced_workers= wk1,wk2

# ----------------
# First worker
# ----------------
worker.wk1.port= 7001
worker.wk1.host= 10.250.14.43
worker.wk1.type= ajp13
worker.wk1.cache_timeout=600
worker.wk1.socket_timeout=5

# ----------------
# Second worker
# ----------------
worker.wk2.port= 7001
worker.wk2.host= 10.250.14.44
worker.wk2.type= ajp13
worker.wk2.cache_timeout=600
worker.wk2.socket_timeout=5

Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message