[1668] in linux-net channel archive

home help back first fref pref prev next nref lref last post

TCP connections stuck in TCP_CLOSING

daemon@ATHENA.MIT.EDU (Wieger Opmeer)
Tue Jan 23 08:55:41 1996

Date: 	Mon, 22 Jan 1996 23:26:27 +0100 (MET)
From: Wieger Opmeer <wieger@cal44a034.student.utwente.nl>
To: linux-net@vger.rutgers.edu


Hello net-gurus,

I try to mantain a small www-server on a linux box running kernel 1.2.13 
and apache 1.0. The problem is that once in a while a TCP connections 
seems to get stuck in the TCP_CLOSING state, as this output from netstat 
shows:

tcp        1   2539 snt.student.utwent:www utpo036.po.utwent:2950 
	UNKNOWN       root
tcp        1   6822 snt.student.utwent:www critters.cs.utwe:33159 
	UNKNOWN       root

Because of a old version of netstat is says 'UNKNOWN' instead of 'CLOSING', I
have verified in /proc/net/tcp that the state is 0x0B. These entries have
been there for about 90 days now, the uptime of the machine is 98 days. The
machines on the other side are up and running, according to ping. I have
studied the kernel sources to find out what causes this situation, but 
don't understand enough of it to really know what is going on.
So, I hope that you net-gurus will be able to answer the following 
questions:
- What is going on?
- Is this a bug?
- If so, has it been fixed in 1.3.x?
- I'm afraid these hanging connections cost valuable memory, is that 
correct?
- Is there any way to get rid of these, short of a reboot?
(I'd hate destroying that uptime :-)

Thanks in advance for any answers,

Wieger Opmeer


 



home help back first fref pref prev next nref lref last post