Re: how to set a connection timeout for the AJP

Re: how to set a connection timeout for the AJP

am 09.03.2010 13:51:19 von Eric Covener

On Tue, Mar 9, 2010 at 5:28 AM, Eugene ADELL-EXT
wrote:
>
> =A0Hello
>
> I am trying to configure a connection timeout when using a ProxyPass with
> AJP.
>
> This one doesn't give the expected result (I get a 503 immediately instea=
d
> of waiting for 60 seconds when the back-end is not available) :
>
> ProxyPass =A0 =A0 =A0 =A0 =A0 =A0 =A0 / =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0ajp://localhost:8009/
> connectiontimeout=3D60
>
> In the mail archives I read other people have the same problem, but no cl=
ear
> solution is given.

If it gets "connection refused" right away, the connection timeout is
not applicable.


--=20
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: how to set a connection timeout for the AJP ProxyPass ? [NC]

am 09.03.2010 14:50:49 von Eugene ADELL-EXT

--=_alternative 004C106EC12576E1_=
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"

That's right. I now understand this is applicable in case of network
latency, but not when the server is reachable and doesn't want any
connection (the process is stopped, the OS returns a RST packet).
Thanks.




covener@gmail.com
09/03/10 13:51
Please respond to
users@httpd.apache.org



To
users@httpd.apache.org
cc

Subject
Re: [users@httpd] how to set a connection timeout for the AJP ProxyPass ?
[C1]






On Tue, Mar 9, 2010 at 5:28 AM, Eugene ADELL-EXT
wrote:
>
> Hello
>
> I am trying to configure a connection timeout when using a ProxyPass
with
> AJP.
>
> This one doesn't give the expected result (I get a 503 immediately
instead
> of waiting for 60 seconds when the back-end is not available) :
>
> ProxyPass / ajp://localhost:8009/
> connectiontimeout=60
>
> In the mail archives I read other people have the same problem, but no
clear
> solution is given.

If it gets "connection refused" right away, the connection timeout is
not applicable.


--
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

************************************************************ *************
This message and any attachments (the "message") are confidential, intended solely for the addressee(s), and may contain legally privileged information.
Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or
falsified.
************
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et susceptibles de contenir des informations couvertes
par le secret professionnel.
Ce message est etabli a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
************************************************************ *************

--=_alternative 004C106EC12576E1_=
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset="us-ascii"



That's right. I now understand this
is applicable in case of network latency, but not when the server is reachable
and doesn't want any connection (the process is stopped, the OS returns
a RST packet).


Thanks.











covener@gmail.com

09/03/10 13:51




Please respond to

users@httpd.apache.org










To

users@httpd.apache.org

cc



Subject

Re: [users@httpd] how to set a connection
timeout for the AJP ProxyPass ? [C1]














On Tue, Mar 9, 2010 at 5:28 AM, Eugene ADELL-EXT

<eugene.adell-ext@socgen.com> wrote:

>

>  Hello

>

> I am trying to configure a connection timeout when using a ProxyPass
with

> AJP.

>

> This one doesn't give the expected result (I get a 503 immediately
instead

> of waiting for 60 seconds when the back-end is not available) :

>

> ProxyPass               /  
                   ajp://localhost:8009/

> connectiontimeout=60

>

> In the mail archives I read other people have the same problem, but
no clear

> solution is given.



If it gets "connection refused" right away, the connection timeout
is

not applicable.





--

Eric Covener

covener@gmail.com



------------------------------------------------------------ ---------

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-unsubscribe@httpd.apache.org

  "   from the digest: users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: users-help@httpd.apache.org



*************************************************************************
This message and any attachments (the "message") are confidential, intended solely for the addressee(s), and may contain legally privileged information.
Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or
falsified.
************
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et susceptibles de contenir des informations couvertes
par le secret professionnel.
Ce message est etabli a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
*************************************************************************

--=_alternative 004C106EC12576E1_=--