🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15215

Re: expire takes FOREVER!

#15215
From: James Youngman
Date: Fri, 21 Feb 1997 00:00
25 lines
1610 bytes
In article <5eiaov$4pt@nntp.idsonline.com>, jfking@idsonline.com says...
>
>Anyone have an idea why expire sometimes takes 7 or 8 hours to run and
>other times it takes only 3 or 4?  When it takes longer it doesn't
>appear to be expiring many more articles that it does when it takes
>less time.

The list of articles to be deleted must be sorted for reasonable performance.
Make sure that the partition that sort(1) uses for temporary files has 
easily enough capacity to accept a whole history database.   If this is not the 
case, you may end up with an unsorted list, which will take ages (especially 
with expireover).

I solved this by moving the sort from /tmp to /var/tmp using the -T option to 
GNU sort(1) and changing news.daily.


-- 
James Youngman       VG Gas Analysis Systems  The trouble with the rat-race 
Before sending advertising material, read     is, even if you win, you're 
http://www.law.cornell.edu/uscode/47/227.html         still a rat.


Technical Details
Message-ID: <5ekab5$ccg@halon.vggas.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: <5eiaov$4pt@nntp.idsonline.com>

Show Full Headers
Complete Article Headers
Message-ID: <5ekab5$ccg@halon.vggas.com>
Subject: Re: expire takes FOREVER!
Date: Fri, 21 Feb 1997 00:00:00 +0000
From: JYoungman@vggas.com (James Youngman)
References: <5eiaov$4pt@nntp.idsonline.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: 220418949
Distribution: inet
Content-Type: Text/Plain; charset=US-ASCII
Organization: VG Gas Analysis Systems
Mime-Version: 1.0
Newsgroups: news.software.nntp