🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Deborah Gronke Bennett Sun, 08 Apr 1990 01:27
question about expired articles
#280
Author: Deborah Gronke Bennett
Date: Sun, 08 Apr 1990 01:27
27 lines
1755 bytes
I'm running version 6.3.8 (#65) on my sun4. I maintain the database
locally, and communicate through nntp with the master news machine
at my site. I run "nnmaster -r -C" from my /etc/rc file at boot time.

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. 

What I want to know is this: what is wrong with my setup so that I
keep seeing the headers for the articles? I would like to see the
list of headers in that group only show those articles which are really
available for me to read.

I used to run "nnmaster -r -C -E" and I believe I saw the same problem.

Can anyone enlighten me?

-deborah bennett

-deborah gronke bennett	
sun microsystems desktop drivers
sun!deborah 	deborah@sun.com
Re: question about expired articles
#299
Author: 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!
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