🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23105

Re: Newsreaders hang getting headers

#23105
From: Forrest J. Cavalier III
Date: Mon, 10 Nov 1997 00:00
79 lines
3972 bytes
In article <646al5$mbs$1@ostrich.cybercomm.net>, leighk@ostrich.cybercomm.net 
wrote...
>
>This is a problem that has me at my wit's end. For some unknow reason, users
>using 16-bit newsreaders have a problem where they'll start fetching headers,
>but it will only get a few percent before it just sits there doing nothing.
>The newsreader doesn't seem to matter. I've had users say it happens with Free
>Agent, Netscape News, and WinVN. It also doesn't matter what group they're
>reading. The only common threads between these users is that they all use
>Windows 3.1x and Trumpet Winsock PPP to login. We were able to re-create the
>problem to some extent (although not consistantly) on one of our Win95 
>machines dialed in (with Win95 DUN) and using Free Agent 16-bit.
>As far as the server side goes, we're running INN 1.7 on a Linux 2.0.31pre
>system, Pentium 166 and 128MB of ram. It looks like all the problems end up
>with a common server error as follows:
>
>Nov  9 11:46:56 ostrich nnrpd[17626]: ? cant getpeername Transport endpoint 
>is not connected

That is an error reported before the nnrpd signon is sent.

A reader connection to INN goes through the following sequence of
events:
    Connect request sent to the server.

    innd accepts() the connection and based on IP address and hosts.nntp
        decides to hand the connection off to nnrpd.

    nnrpd starts up, and then tries to get the name of the peer, to
        decide whether access is permitted according to nnrp.access.
        [It is at this point the cant getpeername error is triggered.]
        
    nnrpd writes the signon banner and starts waiting for requests.    


Depending on the newsreader, one of several things may be happening
to cause the symptom you describe.... These are off the top of my
head
    1. nnrpd is "hanging" in an infinite loop somewhere.  This
       would be odd, but perhaps there is some unknown bug in nnrpd
       which is triggered by bad overview.

    2. nnrpd is just slow because you aren't running overview and
       it has to open every article in the spool.

    3. You have really old unexpired messages (missing from the
       history file) and nnrpd is trying to open all the missing
       article numbers to generate overview.

    4. The newsreader is not using XOVER, and is actually using
       HEAD to try to build message headers the hard way.

    5. Combination of #4 and #3.  This is really ugly.


    6. nnrpd is dumping core during the transfer (not a known
       defect, but you might have some local problem) and the
       client software does not see that the socket is closed.
       Look for a core file in the spool in the newsgroup directory.

    7. Other possibilities that I forgot.

One item to note is that users are impatient, and "hanging"
is often the term they use to describe something that is
actually "slower than usual performance."

Also, some versions of Netscape Navigator can get into a
mode where they flood the system with connects that never
complete.  I don't know if this has been better documented
or described anywhere.

Forrest Cavalier, Mib Software, INN customization and consulting 
Commercial support for INN: http://www.mibsoftware.com/innsup.htm 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: 
    http://www.mibsoftware.com/userkt/forprov.htm 


Technical Details
Message-ID: <6471tn$llj$1@news1.epix.net>
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: <646al5$mbs$1@ostrich.cybercomm.net>

Show Full Headers
Complete Article Headers
Message-ID: <6471tn$llj$1@news1.epix.net>
Subject: Re: Newsreaders hang getting headers
Date: Mon, 10 Nov 1997 00:00:00 +0000
From: mibsoft@epix.net (Forrest J. Cavalier III)
References: <646al5$mbs$1@ostrich.cybercomm.net>
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: 288287861
Organization: Mib Software
Newsgroups: news.software.nntp