🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Andreas Hoffmann Fri, 10 Mar 2000 00:00
Linux leafnode 1.9.2 hangs with TCP state CLOSE_WAIT
#44983
Author: 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

Re: Linux leafnode 1.9.2 hangs with TCP state CLOSE_WAIT
#44976
Author: Joerg Dietrich
Date: Fri, 10 Mar 2000 00:00
21 lines
1388 bytes
Andreas Hoffmann <Andreas.Hoffmann@mail4you.de> wrote:
> I'm using leafnode 1.9.2 on my SuSE 6.0 with Kernel 2.0.36.

Which is very old and has numerous bugs. Get the latest version
from http://www.leafnode.org/

> Sometimes I close Netscape, leafnode does'n end the TCP session and
> stays in CLOSE_WAIT state.

Leafnode doesn't know anything about TCP. It does all its
communication via the TCP wrapper. I suspect that is where you
should have a look.

Regards,
	Jo:rg

-- 
Fortune cookie of the day:
Why is it taking so long for her to bring out all the good in you?

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads