Apparently mod_jk does support several load balancing algorithms other
than round-robin.  You may want to set the "method" property of load
balancer to Request or Traffic.  See instructions on worker properties
for details.

http://tomcat.apache.org/connectors-doc/config/workers.html

I think this will solve your problem.  I am curious to know the results.
If you need more sophisticated solutions, go with a hardware load
balancer such as Cisco or BigIP.

ND

-----Original Message-----
From: Mott Leroy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 2:41 PM
To: Tomcat Users List
Subject: robust Failover, mod_jk

I was wondering if I could get some advice on better failover for my 
current setup. I'm using mod_jk 1.2.14 with Tomcat 5.0.28.

One issue that we occassionally run across is that an instance of tomcat

will become unresponsive (due to out of memory errors for example) but 
mod_jk will still route requests to it. I realize the longer term 
solution here is to fix applications which cause tomcat problems (out of

memory errors especially), but the reality is, these things happen, and 
don't cause a failover.

Does anyone have any suggestions on how to handle situations like this?

- Mott



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