Re: possible problem with half_closed_clients options & file descriptors

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 03 Dec 1999 00:10:06 +0100

Jens-S. Voeckler wrote:

> Nope, half-closed FDs are closed and released after some time of
> inactivity on my machines. The only problem (still remaining since
> squid-1.1) is that with a workload higher than the host can handle, I have
> loads of FDs remaining in CLOSE_WAIT until I reach my FD limit (which I
> set to 4096). More than 200 CW handles is a good sign to restart squid
> (still found no other solution).

Thats most likely half closed client connections. Unless you disable
half closed clients, aborted client connections on stalled server
connections will stay in CLOSE_WAIT until the server connection times
out (which could be something like 15 minutes later).

Try
half_closed_clients off

If you continue to get sockets seemingly stuck in CLOSE_WAIT then there
is a problem in Squid somewhere.

/Henrik
Received on Thu Dec 02 1999 - 17:18:40 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:42 MST