mod_proxy - disablereuse

--_79645ecd-2712-4dfb-8a49-5b3dc3ecc8d5_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



Dears=2C





I experienced some problems with mod_proxy when the backend server is resta=
rted.

This may be due to the reuse of invalid connections=2C hence I tried not to=
reuse them by using disablereuse option:

....
ProxyPass / http://195.238.10.70/ disablereuse=3Don
....

netstat command shows that connections are not reused (one connection per r=
equest) however it seems that the connections are not cleaned up immediatel=
y and stay for a while in TIME_WAIT
I assume we could reach shortly a threshold on the server on TCP connection=
s.

- Is there an option to immediately close the connection without waiting
- When re-using the connections (disablereuse=3Doff)=2C if the backend serv=
er is restarted=2C it seems to hang. Any parameter controlling this behavio=
ur.

Regards=2C

P.



____________________________________________________________ _____
Hotmail: Free=2C trusted and rich email service.
https://signup.live.com/signup.aspx?id=3D60969=

--_79645ecd-2712-4dfb-8a49-5b3dc3ecc8d5_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
..hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}
--></style>
</head>
<body class=3D'hmmessage'>
<br>Dears=2C<br>
<br>
<br>
I experienced some problems with mod_proxy when the backend server is resta=
rted.<br>
This may be due to the reuse of invalid connections=2C hence I tried not to=
reuse them by using disablereuse option:<br><br>...<br>ProxyPass / http://=
195.238.10.70/ disablereuse=3Don<br>...<br><br>netstat command shows that c=
onnections are not reused (one connection per request) however it seems tha=
t the connections are not cleaned up immediately and stay for a while in TI=
ME_WAIT<br>I assume we could reach shortly a threshold on the server on TCP=
connections.<br><br>- Is there an option to immediately close the connecti=
on without waiting<br>- When re-using the connections (disablereuse=3Doff)=
=2C if the backend server is restarted=2C it seems to hang. Any parameter c=
ontrolling this behaviour.<br><br>Regards=2C<br><br>P.<br>
<br>
<hr />Hotmail: Free=2C trusted and rich email service=
.. <a href=3D'https://signup.live.com/signup.aspx?id=3D60969' target=3D'_new=
'>Get it now.</a></body>
</html>=

--_79645ecd-2712-4dfb-8a49-5b3dc3ecc8d5_--
Paul Jacques [ Di, 23 März 2010 08:34 ] [ ID #2036081 ]

Re: mod_proxy - disablereuse

From: Paul Jacques <devexplorer [at] hotmail.com>
>netstat command shows that connections are not reused (one connection per request) however it seems that the connections are not cleaned up immediately and stay for a while in TIME_WAIT
>I assume we could reach shortly a threshold on the server on TCP connections.
>- Is there an option to immediately close the connection without waiting

http://www.softlab.ntua.gr/facilities/documentation/unix/uni x-socket-faq/unix-socket-faq-2.html#ss2.7

JD




------------------------------------------------------------ ---------
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
john doe [ Di, 23 März 2010 10:43 ] [ ID #2036082 ]
Webserver » gmane.comp.apache.user » mod_proxy - disablereuse

Vorheriges Thema: RFC5789 and PATCH HTTP method
Nächstes Thema: Safety access to Apache web page