Thread View: news.software.nntp
10 messages
10 total messages
Started by LeighK
Mon, 10 Nov 1997 00:00
Newsreaders hang getting headers
Author: LeighK
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
36 lines
2338 bytes
2338 bytes
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 Unfortunately, one of our users figured that they could "alleviate" this problem by constantly clicking on load headers, which in turn causes a flood of these errors and the load on our news machine to skyrocket. I'd like to get this fixed as soon as I can. I appologize for the crosspost, but I'm really not sure where the problem lies, so it could be either server-end or client-end. Thank you for any and all suggestions. -Leigh -- Leigh Koven leighk@cybercomm.net CyberComm Online Services http://www.cybercomm.net (732) 818-3333 telnet://cybercomm.net Tech Support/Inquiries should be sent to: systems@cybercomm.net
Re: Newsreaders hang getting headers
Author: LeighK
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
22 lines
1412 bytes
1412 bytes
Ron Newman <rnewman@thecia.net> wrote: > In article <646al5$mbs$1@ostrich.cybercomm.net>, LeighK > <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. > What is a "16-bit newsreader" ? 16-bit Windows 3.1 newsreaders. -Leigh -- Leigh Koven leighk@cybercomm.net CyberComm Online Services http://www.cybercomm.net (732) 818-3333 telnet://cybercomm.net Tech Support/Inquiries should be sent to: systems@cybercomm.net
Re: Newsreaders hang getting headers
Author: LeighK
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
56 lines
3080 bytes
3080 bytes
Forrest J. Cavalier III <mibsoft@epix.net> wrote: > >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.] Would nnrpd be doing the name lookup if I have NNRP_GETHOSTBYADDR defined as DONT in config.data? If it still does _something_, would it help to have named running on the news server and running with a cache of our hostnames? Or am I totally going in the wrong direction here? As per your suggestions of overview problems (which seems to be where this is going), I'll try an expireover -a and see if that helps to fix it. Although, if it were an overview problem, wouldn't it affect ALL newsreaders, including 32-bit Win clients and Unix platforms as well? It seems to only occur with 16-bit clients in Windows (both 3.1 and 95), and only over dialup. The same clients work fine over our local network. > 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." Well, although I consider this a possibility, I know a few of the people reporting problems personally and they know the difference between being slow and a hang. It seems to just fetch the first few headers and just sit there for a while until the user gives up. > 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. Wouldn't doubt it. Definately explains a few interesting things in the logs, though. -Leigh -- Leigh Koven leighk@cybercomm.net CyberComm Online Services http://www.cybercomm.net (732) 818-3333 telnet://cybercomm.net Tech Support/Inquiries should be sent to: systems@cybercomm.net
Re: Newsreaders hang getting headers
Author: Forrest J. Cavalier III
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
79 lines
3972 bytes
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
Re: Newsreaders hang getting headers
Author: Ragnar Lonn
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
14 lines
897 bytes
897 bytes
In article <6471tn$llj$1@news1.epix.net>, mibsoft@epix.net (Forrest J. Cavalier III) wrote: > 7. Other possibilities that I forgot. > You have overview files but they're gigantic because they haven't been trimmed properly? (run 'expireover -s' manually) (happened to us just recently...) /Ragnar, Algonet/TNI
Re: Newsreaders hang getting headers
Author: LeighK
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
22 lines
1364 bytes
1364 bytes
Ragnar Lonn <prl@algonet.se> wrote: > In article <6471tn$llj$1@news1.epix.net>, mibsoft@epix.net (Forrest J. > Cavalier III) wrote: > > 7. Other possibilities that I forgot. > > > You have overview files but they're gigantic because they haven't been > trimmed properly? (run 'expireover -s' manually) I'll give expireover -a a try. From what I read in the manpage, -a also implies -s. -Leigh -- Leigh Koven leighk@cybercomm.net CyberComm Online Services http://www.cybercomm.net (732) 818-3333 telnet://cybercomm.net Tech Support/Inquiries should be sent to: systems@cybercomm.net
Re: Newsreaders hang getting headers
Author: Forrest J. Cavalier III
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
34 lines
1710 bytes
1710 bytes
In article <rnewman-ya02408000R1011970712550001@snews.zippo.com>, rnewman@thecia.net wrote... > >In article <646al5$mbs$1@ostrich.cybercomm.net>, LeighK ><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. > >What is a "16-bit newsreader" ? > Depending on how much that question was troll, humor, or serious, one of the following definitions..... 1. A newsreader you'd only pay $2.00 for. 2. Any newsreader which is 8 times better than a 2-bit newsreader. 3. A common way to identify newsreading client software which can run on Windows 3.1. But because of how the original poster described the problem, could be running on Win95 or WinNT. If you are a news admin and have customers running Win95 or WinNT, and you don't know what a 16-bit newsreader is, then you better get out and get better contact with your customers. Forrest
Re: Newsreaders hang getting headers
Author: Ragnar Lonn
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
26 lines
1491 bytes
1491 bytes
In article <647c6f$qpe$1@ostrich.cybercomm.net>, LeighK <leighk@ostrich.cybercomm.net> wrote: >Ragnar Lonn <prl@algonet.se> wrote: >> In article <6471tn$llj$1@news1.epix.net>, mibsoft@epix.net (Forrest J. >> Cavalier III) wrote: >> > 7. Other possibilities that I forgot. >> > > >> You have overview files but they're gigantic because they haven't been >> trimmed properly? (run 'expireover -s' manually) > >I'll give expireover -a a try. From what I read in the manpage, -a also >implies -s. > First check if that is your problem. Check how many articles you have in a certain group, then cd to the overview directory for that group and do a "wc -l .overview". If you get a number that is higher than the number of articles in the group, you have overview entries that haven't been expired. Regards, /Ragnar, Algonet/TNI
Re: Newsreaders hang getting headers
Author: Ron Newman
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
15 lines
1054 bytes
1054 bytes
In article <646al5$mbs$1@ostrich.cybercomm.net>, LeighK <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. What is a "16-bit newsreader" ? -- Ron Newman rnewman@thecia.net http://www2.thecia.net/users/rnewman/
Re: Newsreaders hang getting headers
Author: Forrest J. Cavalier III
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
36 lines
1985 bytes
1985 bytes
In article <647c22$qna$1@ostrich.cybercomm.net>, leighk@ostrich.cybercomm.net wrote... > >Forrest J. Cavalier III <mibsoft@epix.net> wrote: [snip] >> 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.] > >Would nnrpd be doing the name lookup if I have NNRP_GETHOSTBYADDR defined as >DONT in config.data? If it still does _something_, would it help to have named >running on the news server and running with a cache of our hostnames? Or am >I totally going in the wrong direction here? A bit of confusion, due to the "convention of confusion" of IP "address" and "host name" in the socket documentation. I should have been more careful. I was speaking loosely of something that is actually a two step process: See the code in nnrpd/nnrpd.c StartConnection() The getpeername() call actually gets the IP address. The socket needs to be connected, or an ENOTCONN error is returned and the message is logged. The NNRP_GETHOSTBYADDR setting controls code which takes the second step of converting the IP address to a hostname. So to answer your question directly, the getpeername() call happens regardless of the NNRP_GETHOSTBYADDR setting. Forrest
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