mod_proxy - disablereuse

mod_proxy - disablereuse

am 23.03.2010 08:34:46 von Paul Jacques

--_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.


=20
____________________________________________________________ _____
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







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 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
I assume we could reach shortly a threshold on the server on TCP=
connections.

- Is there an option to immediately close the connecti=
on without waiting
- 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.

Regards=2C

P.




Hotmail: Free=2C trusted and rich email service=
.. '>Get it now.
=

--_79645ecd-2712-4dfb-8a49-5b3dc3ecc8d5_--

Re: mod_proxy - disablereuse

am 23.03.2010 10:43:37 von john doe

From: Paul Jacques
>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 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