🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44983

Linux leafnode 1.9.2 hangs with TCP state CLOSE_WAIT

#44983
From: Andreas Hoffmann
Date: Fri, 10 Mar 2000 00:00
55 lines
2386 bytes
Hello,

I'm using leafnode 1.9.2 on my SuSE 6.0 with Kernel 2.0.36.

The following problem is occuring when reading News with Netscape 4.7:
(No comments on Netscape as newsreader, this works fine for me.)

Sometimes I close Netscape, leafnode does'n end the TCP session and
stays in CLOSE_WAIT state.
If my TCP knowlage is right, CLOSE_WAIT means that leafnode got the FIN
signal from Netscape to end the session and acknolaged it, but doesn't
want to end the session from its side. 
If it wants to end the session, too, it would send the FIN itself and
enter the LAST_ACK state. 
But this is not done (unless I kill the leafnodes).
So I don't think Netscape is the problem.

Has anyone seen this before?
Would updating solve this problem?


Thank you for your help,

Andreas


PS: here some more info:

netstat says:

Proto Recv-Q Send-Q Local Address           Foreign Address        
State
tcp        0      0 localhost:nntp          localhost:3665         
ESTABLISHED
tcp        0      0 localhost:3665          localhost:nntp         
ESTABLISHED
tcp        7  17408 localhost:nntp          localhost:3663         
CLOSE_WAIT
tcp        7  17408 localhost:nntp          localhost:2113         
CLOSE_WAIT
tcp        7  17408 localhost:nntp          localhost:1198         
CLOSE_WAIT
tcp        7  17408 localhost:nntp          localhost:1025         
CLOSE_WAIT

and ps alx | grep leafnode:

100100     9   474   241   0   0   1764  1376 wait_for_tc S   ?   0:00
leafnode
100100     9   941   241   0   0   1764  1376 wait_for_tc S   ?   0:00
leafnode
100100     9  1481   241   0   0   1764  1376 wait_for_tc S   ?   0:00
leafnode

Technical Details
Message-ID: <38C8CA1F.4F37FC35@mail4you.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <38C8CA1F.4F37FC35@mail4you.de>
Subject: Linux leafnode 1.9.2 hangs with TCP state CLOSE_WAIT
Date: Fri, 10 Mar 2000 00:00:00 +0000
From: Andreas Hoffmann <Andreas.Hoffmann@mail4you.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 595622065
Distribution: world
Content-Transfer-Encoding: 7bit
X-Accept-Language: de, en
Content-Type: text/plain; charset=us-ascii
Organization: Technische Universitaet Muenchen, Germany
Mime-Version: 1.0
Newsgroups: news.software.nntp