🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16660

Re: Two problems while running INN-1.5.1

#16660
From: dolzman
Date: Thu, 03 Apr 1997 00:00
51 lines
3162 bytes
On 3 Apr 1997, Bill Gunshannon wrote:

> The second one is more of a problem, however.  I normally take in articles
> at the rate of 10,000 an hour.  But as soon as expire starts to run, that
> rate drops to less than 4,000 an hour.  This wouldn't seem to bad except
> that expire is taking as much as 12-14 hours to run!!  That can't be right.
> Right now I have an expire running since 1:30 PM and it's 10:30 at night.

    What part of expire is still running?  Typically, expire (or more
correctly, news.daily) runs in three steps.  The first step is to rebuild
the history file and create the list of articles to be removed in
expire.rm, which is then sorted, then, depending on your setup, you
expireover on the overview files, and then finally you remove the article
files themselves.

    When the first step is running, you'll see both history and history,n
files (though you may be building the history.n files in a different
directory).  When that completes, you'll no longer see the .n files, and
your expire.rm file (probably with the logs) will be sorted using some
temp dir.  If this file does not completely sort, expire will be very
slow.  Look at this file and see if it is in unsorted order or sorted.

    Then you'll expireover with this file.  At this site, it takes about
20 minutes to build and sort the expire.rm file, then an hour to
expireover.  Do a  ps (-your-OS-flags) | grep exp  to see if expireover is
still happening.

    When your overview files have been cleaned, then you run fastrm,
assuming you are giving the option delayrm to expire.  You are doing that,
aren't you?  If not, you really should.

    You can see whether you are fastrm'ing by ps | grep rm.  At this site,
it takes between 8 and 12 hours to fastrm a day's worth of news (some 300
000 articles), but you should probably finish in far less time.  If
everything else is okay, then you probably need to work on tuning your
filesystem to work much faster.  I've made a couple changes which have
shaved several hours off the time needed to expire news from a RAID array,
and with suitable additional hardware, could probably easily cut it in
half again. 

    If you can better say how long each part of expire requires, than we
can better suggest improvements for you to make.  But you should
definitely be running with delayrm/fastrm, and if your list of files to be
removed is not sorted, that'll kill you too.


Barry Bouwsma, radio Praha


Technical Details
Message-ID: <Pine.BSF.3.95q.970403190544.26260B-100000@flaming-bully.bofh.radio.cz>
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: <5hv7oo$84h$1@info.cs.uofs.edu>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.95q.970403190544.26260B-100000@flaming-bully.bofh.radio.cz>
Subject: Re: Two problems while running INN-1.5.1
Date: Thu, 03 Apr 1997 00:00:00 +0000
From: dolzman <dolzman@Radio.CZ>
References: <5hv7oo$84h$1@info.cs.uofs.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
X-Deja-AN: 230442960
X-Sender: dolzman@flaming-bully.bofh.radio.cz
Organization: Radio Praha -- Cesky Rozhlas 7
Reply-To: ag786@yfn.ysu.edu
Newsgroups: news.software.nntp