Article View: news.software.nntp
Article #20593Re: Microsoft Internet News and inn
From: USENET news
Date: Sat, 16 Aug 1997 00:00
Date: Sat, 16 Aug 1997 00:00
60 lines
3854 bytes
3854 bytes
In article <33F4EDB1.425E@drublair.com>,
Kendall Lloyd <webmaster@drublair.com> wrote:
> [problem with Internet News fetching group list, crash blamed by Microsoft
> on bad data from the server.]
>
>We're running inn1.4unoff4 and can't upgrade yet, atleast not easily and
>I think the verion of Internet news is 1.0. The error occurs at about
>7300 groups. Atleast it does on the machine I've been able to duplicate
>the error on. I guess I was hoping there was a simple setting in a
>config or header file, or possibly a by hand edit to the active file. Oh
>well, thanks for everyones help so far.
Microsoft's note about the problem at
http://www.microsoft.com/kb/articles/q160/8/98.htm
blamed the problem on bad data from the server, most likely bad line
delimiters, though why that should arise (as they suggest) most commonly on
servers with more than 6000 groups is not particularly obvious. The most
common cause is reportedly servers sending \r\r\n or \r - or, presumably
just \n, though not mentioned - instead of the standard \r\n carriage
return/linefeed sequence.)
Maybe someone still running 1.4unoff4 can check this (preferably with
Internet News as client in case that helps pin down what triggers the
problem), but I just tried fetching active files (using getlist) and logging
the response packets from servers running 1.5.1sec2 and 1.6b3 (both mine)
and 1.4 (a remote server giving access to a small number of specialist
technical groups) and in all cases, the lines of the response looked
reasonable, correctly delimited with carriage return + line feed. 1.4unoff4
could be different, but older and newer versions are OK, so that doesn't
seem too likely.
It would be worth running inncheck to see if it spots any corruption in the
active file which, by chance, is not breaking anything else, but gets
transmitted to the client unaltered (broken) and happens to cause trouble in
this case. Apart from that, I'd be inclined to guess the problem is really
related more to the number of groups than the data, as suggested elsewhere
in this thread by Forrest Cavalier.
It used to be common for (primarily PC/Mac) newsreaders to have a hard-wired
limit on number of groups (so much easier to allocated fixed-size arrays
rather than allocate memory dynamically...), though I doubt that's true any
longer, with many ISPs having enormous and growing lists.
Maybe the problem here is a related one; the way that Microsoft mentions
approximately 6000 groups as a magic number hints that maybe it has to
reallocate space and shuffle things around for more groups, and maybe
there's a bug so it accidentally trashes something which (depending on the
particular circumstances) will cause trouble with a group later in the list.
[In my tests, only the 1.6b3 server had more than 6000 groups (8488
actually), but there weren't any obvious problems with entries later in the
list, or the list termination sequence.]
John Line
--
Cambridge University Computing Service - USENET news manager. Usually John Line
newsmaster@ucs.cam.ac.uk (alias {newsmaster,news,usenet}@news.cam.ac.uk)
Technical Details
Message-ID:
<5t4149$o0p$1@lyra.csx.cam.ac.uk>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-mailReferences:
<33F35DDE.6CEB308F@drublair.com> <5t02vt$h91$1@lyra.csx.cam.ac.uk> <33F4EDB1.425E@drublair.com>Show Full Headers
Complete Article Headers
Message-ID: <5t4149$o0p$1@lyra.csx.cam.ac.uk> Subject: Re: Microsoft Internet News and inn Date: Sat, 16 Aug 1997 00:00:00 +0000 From: news@news.cam.ac.uk (USENET news) References: <33F35DDE.6CEB308F@drublair.com> <5t02vt$h91$1@lyra.csx.cam.ac.uk> <33F4EDB1.425E@drublair.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 X-Deja-AN: 264494625 Distribution: inet Organization: Computing Service, Cambridge University, England Newsgroups: news.software.nntp