Re: Hung sockets?

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 30 Mar 2000 13:32:45 -0700

On Thu, 30 Mar 2000, Chris Conn wrote:

> Hello,
>
> I am noticing by using NETSTAT that I have sockets that remain open in
> the ESTABLISHED phase indefinately. Since before yesterday, I have the
> following output from netstat -an:
>
> Proto Recv-Q Send-Q Local Address Foreign Address
> State
> tcp 59368 0 192.168.1.1:14197 209.132.192.185:80
> ESTABLISHED
> tcp 31440 0 192.168.1.1:12018 207.46.133.135:80
> ESTABLISHED
> tcp 59368 0 192.168.1.1:14197 209.132.192.185:80
> ESTABLISHED
>
> I have a few dozen of these with a large recv-q value, and they simply
> don't dissapear or empty the buffers. I have changed the local address
> from a valid IP to 192.168.1.1 for the purposes of this email.

They might be due to "hung" cache clients.

Squid stops reading from server-side connections if
it can't write data to the client. The client_lifetime
option should cause hung clients to be disconnected
after some time. I think the default is 24 hours.
Received on Thu Mar 30 2000 - 13:35:19 MST

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