🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6502

Help explain Conn. reset by peer

#6502
From: 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


Technical Details
Message-ID: <4klqik$gkb@anchor.cis.att.com>
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
References: <stern.1-1004961218380001@gait8.gait.ohio-state.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4klqik$gkb@anchor.cis.att.com>
Subject: Help explain Conn. reset by peer
Date: Fri, 12 Apr 1996 00:00:00 +0000
From: newsadm@anchor.cis.att.com (USENet News System Manager)
References: <stern.1-1004961218380001@gait8.gait.ohio-state.edu>
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: 147149673
Distribution: inet
Followup-to: comp.os.linux.networking,news.software.nntp
Organization: AT&T Lincroft, NJ
Newsgroups: news.software.nntp