Hi,

Dear Tom thanks for your mail.

AFAIK, Timeout parameters is about how long time should the Apache wait for
the answer from the backend servers.
Our problem is that when the server couldn't answer for 1 request (returns
with 503) it marks the backend server as unavailable, and waits 60 sec
before it checks the server again.

That's why we want to use the retry parameter to decrease the wait time
before the Apache try to reach the server again.

The configuration is the same as in the [1] example, however it ignores the
retry parameter I set. :(

2011/2/15 Tom Evans <tevans...@googlemail.com>

> On Tue, Feb 15, 2011 at 12:33 PM, Szász Csaba <szasz.cs...@gmail.com>
> wrote:
> > Hello All,
> > We have a problem with one reverse proxy. The problem is that there is
> only
> > one Tomcat backend server but sometimes the connection between the Apache
> &
> > Tomcat gets broken (we are still investogate the cause) To decrease the
> > outage time we want to decrease the retry time while Apache re-connect to
> > the Tomcat server.
> > By default this value is 60 sec, we want to decrease it to 10.
> > I've tried to configure it as:
> > ####################################################
> >         ProxyPass / https://tomcat.server.ip/ retry=10 keepalive=on
> >         ProxyPassReverse / https://tomcat.server.ip/
> > ####################################################
> > but from the log files we still see that the Apache server waits 60 secs
> > instead of 10 :(
> > Does someone any idea what did I missed?
> > Thanks in advance!
>
> The retry parameter to ProxyPass is how long apache will mark this
> backend as broken once it receives a bad response[1]. It sounds more
> like occasionally you cannot connect to the backend, which is
> controlled globally by the directive Timeout[2], and specifically for
> proxy connections by the directive ProxyTimeout[3], and for specific
> backends by the 'timeout' parameter to ProxyPass.
>
> Cheers
>
> Tom
>
> [1] http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
> [2] http://httpd.apache.org/docs/2.2/mod/core.html#timeout
> [3] http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxytimeout
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Üdvözlettel / Best Regards / Mit freundlichen Grüßen
Tsaby


  ()()      (\__/)     (\__/)
 ( '.' )     (O.o )    (='.'=)
(")_(")    (> < )    (")_(")

These are three Bunnies.
Copy Bunnies into your signature to help them on theirs way to world
domination!

Reply via email to