🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #299

Re: question about expired articles

#299
From: Kim F. Storm
Date: Tue, 17 Apr 1990 13:09
40 lines
2702 bytes
deborah@gallifrey.Sun.COM (Deborah Gronke Bennett) writes:

>The problem I see is this: say I don't read a group for a couple of
>weeks, but I do pass through it using N while reading other groups.
>During that time, some of the articles are expired at the master news
>machine. (I believe most articles are expired there each 2 weeks). Now
>I go and try to read that group. I select a bunch of headers, and when
>I try to read those articles, I see a message on the bottom of the screen
>that informs me that the article has expired. 

That is a (known) problem of nn 6.3 (and also the 6.4beta).  Unless
explicitly instructed to *recollect* all articles in a group, expired
articles will remain in the database and thus appear on the user menues.

In the official release 6.4 there is a new expire method which can
eliminate expired articles from the database rather quickly.  It requires
running 'nnadmin =EYW' from cron regularly to initiate the expire process
but then nnmaster will do the rest.

The new method works by getting a list of the existing articles in each group
(using the XHDR with nntp and readdir() locally), and then simply rewriting
the database files with the expired articles eliminated.

This raises a small problem with nntp sites:  The XHDR request isn't the
best way to get the necessary information since it will open each article
to get an (arbitrary) header field which is a waste of time since the only
thing nnmaster is interested in is the article number which can be found
simply by reading the directory (as is done locally).

Therefore, I have prepared rel. 6.4 to use a LISTGROUP request which
should return just the article numbers in the group.  I suppose somebody
will make a patch for the nntp server to handle this request since it
will significantly decrease the load on the nntp server during nnmaster's
expire operation.  Any volounteers?


-- 
Kim F. Storm        storm@texas.dk        Tel +45 429 174 00
Texas Instruments, Marielundvej 46E, DK-2730 Herlev, Denmark
	  No news is good news, but nn is better!
Technical Details
Message-ID: <514@texas.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
References: <134138@sun.Eng.Sun.COM>

Show Full Headers
Complete Article Headers
Message-ID: <514@texas.dk>
Subject: Re: question about expired articles
Date: Tue, 17 Apr 1990 13:09:00 +0000
From: storm@texas.dk (Kim F. Storm)
References: <134138@sun.Eng.Sun.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Keywords: expire
Distribution: news
Organization: Texas Instruments, Denmark
Lines: 40
Posted: Tue Apr 17 14:09:00 1990