Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a site that is served by jetty on port 8080 and apache is on 80 redirecting requests to jetty. My problem is when ever I shutdown jetty for maintenance or restart and during the period any one tries to access to site, they get proxy not reachable error as expected but even after jetty is back up and serving connections they still keep getting proxy not reachable error until I restart apache. Can anyone tell me why this is happening or is this normal?

share|improve this question
up vote 1 down vote accepted

I think this is due to the retry value having a default of 60 seconds. From the mod_proxy documentation:

retry Connection pool worker retry timeout in seconds. If the connection pool worker to the backend server is in the error state, Apache will not forward any requests to that server until the timeout expires. This enables to shut down the backend server for maintenance, and bring it back online later. A value of 0 means always retry workers in an error state with no timeout.

I was able to get Apache to immediately notice jetty's presence again by setting retry=0, like:

ProxyPass /jetty/ http://localhost:8080 retry=0
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.