Re: how to set a connection timeout for the AJP

On Tue, Mar 9, 2010 at 5:28 AM, Eugene ADELL-EXT
<eugene.adell-ext [at] socgen.com> 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.


--
Eric Covener
covener [at] 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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Eric Covener [ Di, 09 März 2010 13:51 ] [ ID #2034432 ]

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

--=_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 [at] gmail.com
09/03/10 13:51
Please respond to
users [at] httpd.apache.org



To
users [at] httpd.apache.org
cc

Subject
Re: [users [at] 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 [at] 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 [at] 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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] 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"


<br><font size=2 face="sans-serif">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).</font>
<br><font size=2 face="sans-serif">Thanks.</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40% rowspan=2><font size=1 face="sans-serif"><b>covener [at] gmail.com</b>
</font>
<p><font size=1 face="sans-serif">09/03/10 13:51</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
users [at] httpd.apache.org</font></div></table>
<br>
<td width=59%>
<tr valign=top>
<td>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">users [at] httpd.apache.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [users [at] httpd] how to set a connection
timeout for the AJP ProxyPass ? [C1]</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>On Tue, Mar 9, 2010 at 5:28 AM, Eugene ADELL-EXT<br>
<eugene.adell-ext [at] socgen.com> wrote:<br>
><br>
>  Hello<br>
><br>
> I am trying to configure a connection timeout when using a ProxyPass
with<br>
> AJP.<br>
><br>
> This one doesn't give the expected result (I get a 503 immediately
instead<br>
> of waiting for 60 seconds when the back-end is not available) :<br>
><br>
> ProxyPass               /  
                   ajp://localhost:8009/<br>
> connectiontimeout=60<br>
><br>
> In the mail archives I read other people have the same problem, but
no clear<br>
> solution is given.<br>
<br>
If it gets "connection refused" right away, the connection timeout
is<br>
not applicable.<br>
<br>
<br>
-- <br>
Eric Covener<br>
covener [at] gmail.com<br>
<br>
------------------------------------------------------------ ---------<br>
The official User-To-User support forum of the Apache HTTP Server Project.<br>
See <URL:http://httpd.apache.org/userslist.html> for more info.<br>
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org<br>
  "   from the digest: users-digest-unsubscribe [at] httpd.apache.org<br>
For additional commands, e-mail: users-help [at] httpd.apache.org<br>
</font></tt>
<br><pre>*************************************************************************
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.
*************************************************************************
</pre>
--=_alternative 004C106EC12576E1_=--
Eugene ADELL-EXT [ Di, 09 März 2010 14:50 ] [ ID #2034442 ]
Webserver » gmane.comp.apache.user » Re: how to set a connection timeout for the AJP

Vorheriges Thema: How to apply patches that are in patches_applied directory
Nächstes Thema: <IfModule mod_rewrite.c> issue in debian lenny.