🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #256

Re: $###@!'ing Expire (6.3 PL8 Compilation 63)

#256
From: Kim F. Storm
Date: Tue, 03 Apr 1990 22:36
34 lines
2115 bytes
eastick@me.utoronto.ca (Doug Eastick) writes:

>Ok, the Log file says Expire has been run after 'nnadmin E' (or some
>variant) and it also does it after the Cnews upact program has updated
>the lowest article field in the active file.

>So, why do I still have 83,000 articles in the database, taking up 7MB
>of disk space?  And growing?  I cleared it out last time by 'rm -rf
>/usr/spool/news/.nn' and rebuilding the DB.  Grrr.

I am currently rewriting the entire database expire code to work as
it should always have done:
  - Eliminate ALL expired articles from the database
  - Not rely on 'min' to detect expiration.
  - Reuse as much information from the database as possible.
  - Only recollect information if something is *wrong*, or it is
    explicitly requested.

It will involve running a separate 'nnexpire' program, either directly
from cron after news expire has run, or as now via nnadmin->nnmaster.
In both cases, it will synchronize updates to the database with nnmaster.

I want to have this ready for 6.4, because the current expire code is
either too lazy or too time-consuming, and I think its time has come!
I have almost all the pieces ready (except for the NNTP part), and I
only have to combine them properly, so it should be ready next week.

Does that make you happy?


-- 
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: <501@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: <1990Mar23.223120.18385@me.toronto.edu>

Show Full Headers
Complete Article Headers
Message-ID: <501@texas.dk>
Subject: Re: $###@!'ing Expire (6.3 PL8 Compilation 63)
Date: Tue, 03 Apr 1990 22:36:01 +0000
From: storm@texas.dk (Kim F. Storm)
References: <1990Mar23.223120.18385@me.toronto.edu>
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
Distribution: news
Organization: Texas Instruments, Denmark
Lines: 34
Posted: Tue Apr 3 23:36:01 1990