Hi Andrew, It will mark a worker as down and only send requests to "working" workers. There is a separate thread that checks the availability of all workers in an configurable time period which will mark the worker as available/functioning again when it becomes available, where after it will receive requests again. This is new functionality in the latest version of modjk(.27)
I am not sure whether the request that "determined" the unavailability of the worker will be retried though, I don't think so. There has been a previous thread in the list that discussed retrying requests and the caching of request. I believe the conclusion was that it would be possible to implement but not necessarily simple. Regards > -----Original Message----- > From: Andrew Hole [mailto:andremailingl...@gmail.com] > Sent: 21 January 2009 11:14 > To: Tomcat Users List > Subject: mod_jk - load balancing > > 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 ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org