🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Lawrence S. Stern Wed, 10 Apr 1996 00:00
Netscape 2.0 read our news version 1.1 cannot; nnrpd error
#6445
Author: Lawrence S. Stern
Date: Wed, 10 Apr 1996 00:00
14 lines
1109 bytes
We are running Slackware 3.0 Linux, INND 1.4 on a Pentium Box. Netcape 2.0 
can read from our news server fine, However, running Netscape 1.1 or 1.2
on the same remote system causes syslog error: 
Apr 10 11:56:34 qn nnrpd[6835]: officemac.qn.net cant read Connection
reset by peer
Apr 10 11:56:34 qn nnrpd[6835]: officemac.qn.net timeout
Apr 10 11:56:34 qn nnrpd[6835]: officemac.qn.net exit articles 0 groups 3

How do we fix this problem?
Thanks,
Larry Stern
stern.1@osu.edu

Help explain Conn. reset by peer
#6502
Author: USENet News System Manager
Date: Fri, 12 Apr 1996 00:00
85 lines
4401 bytes
Lawrence S. Stern (stern.1@osu.edu) wrote:
: can read from our news server fine, However, running Netscape 1.1 or 1.2
: on the same remote system causes syslog error: 
: Apr 10 11:56:34 qn nnrpd[6835]: officemac.qn.net cant read Connection
: reset by peer
: Apr 10 11:56:34 qn nnrpd[6835]: officemac.qn.net timeout
: Apr 10 11:56:34 qn nnrpd[6835]: officemac.qn.net exit articles 0 groups 3

Larry,
This is caused by the Netscape client PC sending a TCP reset to the server.
I am certain of this, have seen it with a sniffer on the lan that the
server is connected to.  Now, the big question is, why does an otherwize
normal nnrp reader session suddenly get a RESET from the client?

To elaborate a bit: By RESET I mean that the client is communicating 
with the server nnrpd process normally and suddenly the PC sends a TCP
RESET.  I am told that this is the equivalent of the PC saying "Kill this
process immediately and start up a new one."  It is NOT an nntp command
to QUIT.  

When the RESET is received at the server, you will notice a couple of lines
of status are logged (which are normal status lines whenever an nnrpd
process terminates.).  Then interesting things happen.  Sometimes you see
as many as 3 new nnrpd processes start up immediately (connect is logged).  
All but one die out (with the same normal status lines and "elapsed time " 
of nearly zero).  

The one process that remains MAY be the reader continuing on with their
session, or it MAY just be a "sleeper" process which will have no 
activity associated with it, and it will live on till the server timeout
catches up with it and then you will see those status lines, with an
"elapsed time" of precisely your timeout time (on my server it is 1800
seconds which is 30 minutes).

Ok, to summarize, what we have here is:
a client sends a RESET, 
server closes out nnrpd,
server starts up a new process

    OR

client sends a RESET
server closes out nnrpd,
server starts up a new process,
closes it,
server starts a new process, 
closes it,
server starts a new process,
reader continues with reading OR has terminated (turned off PC).

Is this a serious problem?  Depends.  On a lightly loaded server, no.  
On a heavily loaded server it is a VERY serious matter.  There is a 
serious operating system overhead associated with stopping and starting
processes.  And having a bunch of sleeping processes left behind after
the readers have gone away doesn't do anything good to your available
memory, etc.

I have done some investigating as to the symptoms causing this, but don't
have a clear understanding yet.  I DO know that a Netscape 1.1 and 1.2 client
will issue a RESET if they request an article that is not on the server.
This is repeatable.  I also know that a 2.01 client running on an NT machine
will start up multiple sessions if the user clicks on a newsgroup that WAS
on the server but has been removed.  

I have run Forte Agent with no problems at all.
I have run Netscape 1.1 on a Unix WS with no problem.
I have run tin on a Unix WS with no problem.
(i.e. So far,  I have only seen Netscape clients do this).

***************  EVERYONE - I NEED YOUR HELP WITH THIS   *******************

We need additional data.  I will be following up soon with examples from my 
news.notice file to show you what to look for on your server.  Please 
contribute meaningful data to this discussion or ideas as to why this happens.
Want to see if Netscape can explain ?  Good luck.  I've trying for a week.
Additional trouble tickets from responsible administrators couldn't hurt.

Lets hear from you.

Rick Stealey
AT&T WorldNet Netnews Team
e-mail to rstealey\@attmail.com please


Re: Netscape 2.0 read our news version 1.1 cannot; nnrpd error
#6535
Author: USENet News System Manager
Date: Fri, 12 Apr 1996 00:00
19 lines
1266 bytes
Lawrence S. Stern (stern.1@osu.edu) wrote:

Larry,
I wrote an extensive posting on this.  Since I went beyond
what you asked about I gave my posting a new Subject:
Help explain Conn. reset by peer

To ans. your question quickly:  
It is a log entry resulting from a RESET command being issued
from the PC.  It is NOT an nntp command.  The PC should NOT be doing
this.
On lightly loaded systems it doesn't hurt anything, but on heavily 
loaded systems it eats up your resources and costs you big time.

Rick



Re: Help explain Conn. reset by peer
#6540
Author: Per Hedeland
Date: Sat, 13 Apr 1996 00:00
29 lines
2140 bytes
[ Bogus Distribution: inet removed ]

In article <4klqik$gkb@anchor.cis.att.com> newsadm@anchor.cis.att.com (USENet News System Manager) writes:
>***************  EVERYONE - I NEED YOUR HELP WITH THIS   *******************
>
>We need additional data.  I will be following up soon with examples from my 
>news.notice file to show you what to look for on your server.  Please 
>contribute meaningful data to this discussion or ideas as to why this happens.
>Want to see if Netscape can explain ?  Good luck.  I've trying for a week.
>Additional trouble tickets from responsible administrators couldn't hurt.

There is nothing strange with this - it's just the result of the client
software closing the connection without issuing a QUIT command, thereby
violating the NNTP protocol - and it has been discussed extensively here
in the past. As for immediately starting up new connection(s), that can
be expected from a Web browser pretending to be a newsreader, believing
all protocols work like HTTP.

In short, early versions of Netscape are guilty of both, and I believe
at least one other reader is guilty of the first. I also believe that
more recent versions of Netscape are better behaved in this respect,
i.e. if possible you should try to get your users to upgrade. I wouldn't
expect much response from Netscape if you complain about well-known
problems in ancient versions...

--Per Hedeland
per@erix.ericsson.se

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