🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11344

Re: expire drags when rebuilding history

#11344
From: Tim Rosmus
Date: Wed, 02 Oct 1996 00:00
32 lines
2034 bytes
joes@keycomp.net (Joe Schofield) writes:

>mike@bamboo.verinet.com (Mike Loseke) wrote:

>>This just started this past weekend: when expire runs (in any way, shape,
>>or form) it will cruise pretty quickly through the first ~20MB of the
>>history file  then crawl (24+ hours) through the next ~80MB. Once it's
>>past this, it will cruise through the remainder of the file (30MB+) and
>>finish up without a problem. This is for expire run for the entire spool.

Don't know if this is the problem but I just found out last week that
if your run the "news.daily" script with the "delayrm" option, but without
the "expdir=/whatever", then expire runs as...
    "expire -r -z/whatever/expire.rm"

This causes expire to pause the server with a "REASON" of
   "-z/whatever/expire.rm"

It will not even use a "expire.rm" file or the fastrm command.  This would
slow down expire greatly as it will have to unlink each file it comes
across in the history file as needed.

The fix is to always use the "expdir=/whatever" option to news.daily
or edit the news.daily file and add something to the "REASON=" line.
-- 
 Internet:    <tim@mdd.comm.mot.com> |    Tim Rosmus (Sys Analyst)
 Mot-X400-ID: <ctr001@email.mot.com> | Motorola - Wireless Data Group
 UUCP:        <....uunet!mdisea!tim> |    19807 North Creek Parkway
 FAX:         <  206 - 487 - 5800  > | Bothell, WA USA (206) 487-5928

Technical Details
Message-ID: <52u10a$se7@cajun.mdd.comm.mot.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: <5174tt$eji@bamboo.verinet.com> <52p49k$bs@news.keycomp.net>

Show Full Headers
Complete Article Headers
Message-ID: <52u10a$se7@cajun.mdd.comm.mot.com>
Subject: Re: expire drags when rebuilding history
Date: Wed, 02 Oct 1996 00:00:00 +0000
From: tim@mdd.comm.mot.com (Tim Rosmus)
References: <5174tt$eji@bamboo.verinet.com> <52p49k$bs@news.keycomp.net>
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: 186703829
Distribution: inet
Organization: Motorola - Wireless Data Group; Seattle, WA
Newsgroups: news.software.nntp