I see this in mod_jk logs: -- [Tue Mar 30 13:18:29.862 2010] [13058:4143291040] [error] ajp_send_request::jk_ajp_common.c (1467): (host2532) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111) -- And after this point our response time on the client side skyrocket. And we keep getting hundreds of above error every second. Question is why would the worker not taken out of service? My assumption is as soon as it detects this worker is taken out of service. worker.tc.type=lb worker.tc.balance_workers=host2532,host2533 worker.tc.sticky_session=true On Tue, Mar 30, 2010 at 11:37 AM, Mohit Anchlia <mohitanchlia@xxxxxxxxx> wrote: > Apache 2.2.11 > > I am reviewing the timeout values in worker.properties because > currently if one node out of so many other nodes in a jboss cluster > reboots or dies then we see that connection piles up on the web > server. It looks like it's because of retries and and prepost_timeout > that lot of requests hang. What I am looking for is correct settings > that will take worker out of service if node is not reachable and > pings every 7 seconds if node is up or not. > > These are my current settings and I think this is what I need to do > > change: > > worker.host2533.type=ajp13 > worker.host2533.port=8009 > worker.host2533.host=host2533 > worker.host2533.socket_timeout=5 > worker.host2533.socket_keepalive=true > worker.host2533.prepost_timeout=5 > worker.host2533.connect_timeout=5000 > worker.host2533.retries=3 > worker.host2533.recycle_timeout=900 > > > to - basically remove retries so that it doesn't cause long hangs when > server is down. > > worker.host2533.type=ajp13 > worker.host2533.port=8009 > worker.host2533.host=host2533 > worker.host2533.socket_keepalive=true > worker.host2533.connect_timeout=5000 > worker.host2533.recycle_timeout=900 > > I don't see a value in connector timeout manual that checks every 7 > sec and leave worker out of service for 7 secs. Could you please let > me know if mod_jk timeout configuration support such a thing that I am > trying to do? > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx