🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29697

Re: Couple of INN 2.0 Related Questions..

#29697
From: Aidan Cully
Date: Fri, 10 Jul 1998 00:00
95 lines
5468 bytes
In article <19980710154445.859$9x@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:
>Dylan Neild <dylan@speedline.ca> wrote:
>>         - TONS of articles in each group are no longer availalble.
>
>Yep, I'm seeing that too.
>
>> What would cause this?
>
>My first guess is that INN 2.0/CNFS sucks.  (I say it just like this
>because I really was hoping it would work better than this so it's just
>my disapointment - I do apprecate all the work people have put into
>it.)
>
>The problem is cancled articles.  The "old" INN was smart enough to remove
>cancled articles from the overview data when it was sent to the user.  It
>would scan the directory and not send the overview records for articles
>that had been cancled.  This way, users never see the cancled articles - or
>they only see the ones that were cancled between the time they retrived the
>headers and then tried to read the aricle.
>
>The new INN however doesn't do this.  If an article is cancled after you
>receive it, the overview data will remain valid (I don't know if the
>expire process cleans this up or not - I haven't gotten that far in my
>testing yet).

I believe this is fixed in the later snapshots..  From discussion on
inn-workers, I think we now check for the existance of the article
before sending overview data.  You might want to try upgrading, since
there's been a lot of bug-fixes since the release (in fact, I believe
they're planning another release Real Soon).

>I'm also seeing some obvious bugs with the overview stuff (though once
>again this could be caused by something I've done wrong - I'm still very
>new to all this).  But, for example, I have a local group called
>newsreader.test. It had 3 articles posted in it.  Once, the overview data
>returned was for 3 articles from a totally different group.  And once, when
>I tried to read the article (with a "article NNN" command). it returned the
>bogus article as well.  But later, without restarting the server, the
>correct articles were accesable again (thought the NNTP connection was
>probably restarted).

Out of curiousity, were you running an expire(over) at the time?

>And, when typing xover commands by hand for dc.general, I got to the point
>where xover would only return a single xover record even though I was
>asking for all xover records for the group.  But with that as well, a later
>NNTP connection returned the correct data.  Clearly there are some nasty
>little bugs in this stuff.

I believe Katsuhiro Kondou is currently putting a lot of work into the
overview..  It's (almost?) universally acknowledged that the unified
overview was a bad idea, and hopefully we'll soon be able to put it all
behind us.  I, for one, don't intend to run the storage-API on our
reader box until he's got his new overview done.

>>         - Although doing a "list" command is blazing fast.. and getting
>> the number of read/unread articles in a group is also BLAZING fast,
>> clients are reporting that when they go to retrieve a list of headers in
>> a newsreader like Agent or Netscape, that there is a LONG PAUSE before
>> data starts getting fed to them.
>
>I see that too.  INN 2.0 must be doing some type of caching of the overview
>data with this new unified overview.  But that first fetch does just take
>too long.  I haven't seen anything as long as what you are seeing, but I'm
>seeing delays that take a few seconds (old inn would never take more than
>about 100 ms for an overview of that size).  For a very large group though,
>I could see it taking many seconds.
>
>What is the point of the unified overview?  Is there any documentation that
>gives an overview of the the new CNFS and unified overview structure?  I've
>spent hours reading man pages and README files etc and I still don't really
>understand as much as I need to.
>
>I don't get the point of why you would want to put the overview records all
>into a single file (or a small set of files).  I can understand how it
>would make writing the overview files much quicker, but the nnrp job of
>return the data will be slow as hell - and that's not something that can be
>ignored.  And to find the overview records for a single group you need
>those .index files, and as long as you are writing those out anyway, why
>not just write the overview data that like the old way?  Like I said, I
>just don't get it.  Can anyone explain what I'm mising?

No, I think you just explained what the people who implemented unified
overview were missing. :-)  I don't think the new format we're going to get
will look like the pre-storage-api overview files, but it _should_ be
approximately as efficient.

--aidan
-- 
Aidan Cully       "Umm..  Could you call back?  My house is on fire."
Panix Staff          --Tom Waits
aidan@panix.com

Technical Details
Message-ID: <6o5so8$bnc@news1.panix.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: <35A2EDB3.1666@speedline.ca> <19980710154445.859$9x@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <6o5so8$bnc@news1.panix.com>
Subject: Re: Couple of INN 2.0 Related Questions..
Date: Fri, 10 Jul 1998 00:00:00 +0000
From: aidan@panix.com (Aidan Cully)
References: <35A2EDB3.1666@speedline.ca> <19980710154445.859$9x@newsreader.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: 370300554
Distribution: inet
Organization: PANIX Public Access Internet and UNIX, NYC
Newsgroups: news.software.nntp