• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Timeout configuration in Apache

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello folks,

I am using apache 2.2 version and I have three servers configured there for load balancing purpose (like as below)

BalancerMember http://node1:port/ route=node1
BalancerMember xxxx://node2:xxxx/ route=node2
BalancerMember xxxx://node3:xxxx/ route=node3

However the backend application nodes configured in balancer member requires lot of processing time and hence we were facing issues related to timeout like as below

“The timeout specified has expired: proxy: error reading status line from remote server ”

As I had a customised .conf file ,I had to add the below lines explicitly to avoid picking default timeout value from default http-default.conf file

<VirtualHost server:port>
Timeout 500
<Proxy balancer://xxxxx>;
BalancerMember http://node1:port/ route=node1 timeout=500
</Proxy>
</VirtualHost>

So now my questions are:

Do I need to explicitly configure timeout value at both the levels as shown above,
a) Timeout 500 outside Proxy.

b) timeout=500 at BalancerMember level.

I came across somewhere that if the timeout of the Apache BalancerMember is not configured the global Apache timout is inherited there. Please suggest..

Also please suggest the exact parameters in apache that needs to be tuned when huge concurrent requests are anticipated ?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic