Performing robustness check and in system , we have two tomcat workers are set like below. and when connection was broken (intentionally)for one worker , apache hangs and not sending traffic to other working worker. After 90 secs its started sending traffic. During the halt time few requests are failed with 502 error.
BalancerMember https://192.12.12.3:8882 ttl=60
BalancerMember https://192.12.12.4:8882 ttl=60
Performed the same test with connectiontimeout=5 and results are little different compare to above mentioned. There was no halt seen but no of requests sent to other node is very limited. Throughput was very down for 2 or 3 minutes and later healthy worker picked up the load . Apache should send the traffic to other worker when one worker is down and there would be any delay in traffic.
proxy_hcheck_module (hcmethod=TCP hcinterval=2 hcpasses=1 hcfails=1 connectiontimeout=5) also used in the configuration and there was no different in the above behaviour. Very slow traffic was observed significant time(1 to 3 minutes ) before increasing the load on healthy worker.
Please help me configuring apache in a way that no halt or slowdown in the traffic when one worker connection is broken. Apache should identify and divert the traffic to healthy worker.