🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36541

Re: expire question.

#36541
From: Russ Allbery
Date: Tue, 13 Apr 1999 00:00
29 lines
1759 bytes
William Schwartz <schwartzw@usa.net> writes:

> Right now the file system performance on my system is dreadful.  Expire
> is taking was too long (fastrm started last night is still going with
> over 900 minnutes of cpu time).  I need to cut this down somehow.
> Reading the FAQ I found metion of "For most people, even a one-day
> retention time of control.cancel is too much, and they've had to resort
> to wiping that directory every ten minutes or so."  it went on to say
> trimming groups like this can have significant impact on file system
> performance.

> What's the best way to trim this group down?  Since expire is run daily
> that can't really clean the directory every ten minutes.

cd /path/to/spool/control && mv cancel cancel.old && rm -rf cancel.old

> Perhaps i'm doing somethign wrong there to make expire so slow?

Not sure; I've never had it take more than an hour or so, but I don't have
that large of a spool right now.  How big of a news spool are you
expiring?

Also, have you checked the other hot-point newsgroups and reduced the
expiration times on them?  news.lists.filters and *.jobs* are the worst.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylyajw892e.fsf@windlord.stanford.edu>
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: <fapve7.kn1.ln@vikes.dynip.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylyajw892e.fsf@windlord.stanford.edu>
Subject: Re: expire question.
Date: Tue, 13 Apr 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <fapve7.kn1.ln@vikes.dynip.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: 466056742
Organization: The Eyrie
Newsgroups: news.software.nntp