I am trying to balance load between two Apache http webservers. I created a load balancer using mod_proxy_balance from apache. When I run my client (which generates around 100s of threads every second and tries to browse through the website), after a few seconds i start getting 502 and 503 error response codes for few threads. There are few other threads that functions properly. I feel the loadbalancer might be overloaded but im not exactly sure. Can someone please let me know how to proceed in solving this issue. Thanks !
My proxy balancer setup :