Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-18-2011, 08:26 PM   #1
Registered: Jul 2010
Posts: 36

Rep: Reputation: 2
Issue with load balancer


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 :

<IfModule mod_proxy_balancer.c>

<Proxy balancer://>
BalancerMember loadfactor=1
BalancerMember loadfactor=1

<Location />
ProxyPass balancer://


- Sethu
Old 08-19-2011, 12:08 AM   #2
Registered: Jul 2010
Posts: 36

Original Poster
Rep: Reputation: 2
When I saw the error_log in the proxy , First I find

" connection time out to the backend servers" , then i see

" ap_proxy_connect_backend disabling worker" , and then

" All workers are in error state",

The above 3 messages are repeated for a short amount of time. Then I find only

"do_ypcall: clnt_call: RPC: Unable to send; errno = Operation not permitted ".

I ran the experiment only for 5 minutes.


apache22, linux, loadbalancing, webserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Jboss load balancer issue say_hi_ravi Linux - Server 0 07-19-2010 05:26 AM
Load balancer izghitu Linux - Software 1 04-14-2010 11:02 AM
Load balancer mahmoud Linux - Server 9 04-24-2008 08:01 AM
Load Balancer shane200_ Linux - Networking 1 09-16-2005 03:17 PM
Load Balancer shane200_ Mandriva 1 05-12-2005 12:59 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration