Article View: news.software.nntp
Article #26431Re: HELP: INN Expire is slooooooow
From: Frank Durda IV
Date: Fri, 20 Feb 1998 00:00
Date: Fri, 20 Feb 1998 00:00
51 lines
3378 bytes
3378 bytes
Franck Bouteiller wrote:
> Lately, I �ve got problems with INN expire which takes to long time (6
> to 12 hours) to process. In the meanwhile, there no posting (Server
> throttled). I 'm using fastrm as well but it's still to slow.
Determine which phase it is spending all of its time in. If it is
running the expire executable (as verified by ps) for huge amounts of
clock time and you are using delayrm, then the probable problem is
that your datasize limit for the expire process is too small. When
too small, the history.pag rebuilding code does everything on disk
instead of in memory, making it a hundred times (or more) slower
than it should be.
The DBZ code (or DBM for that matter) has this nasty habit of writing
and re-writing the same blocks over and over as it adds entries and
many OSes (such as DEC OSF1 on UFS filesystems) don't deal with this
well, filling all UBC with multiple copies of the same dirty block
until no memory is left, then writing them all out at once, blocking
all disk reads in the meantime. (No disksort in the OSF1 strategy code,
by the way.)
As "news" (or whatever user the news.daily script runs as on your
system), type limit (in csh) and compare if the datasize number is
smaller by 20% than the size of history.pag. (Example,
datasize = 65535 kbytes and your history.pag file is 250194584 bytes
(as an example), then your datasize is too small and expire will
crawl, while violently churning your disk drives.
If the datasize is too small, add a step to your expire script to set
the limit much larger ( at least 1.2X history.pag size) before the
expire executable runs. (If you are on FreeBSD, you may need to
visit the /etc/login.conf file and make datasize changes there too.)
Note: if your system does not have at least 1.2X the size of your
history.pag file in RAM, you need to make sure you have at least
2X the size of your history.pag file in SWAP and consider buying
more RAM and/or reducing the "remember" setting in expire.ctl.
The latter may eventually yield a smaller history.pag file.
Making sure expire can build the new history.pag file in memory will
make expire run many many times faster.
Frank Durda IV - only these addresses work:|"I'll get you, you cursed brat,
<uhclem.argv%nemesis.lonestar.org> | and your mangy CLEC too!"
| - The wicked telco witch of
These Anti-spam addresses expire Mar. 31st | the SouthWest
(c) 1998, ask before reprinting.
Technical Details
Message-ID:
<719EEEF793F027F2.369C48F5F9FB4AC8.82CEC0FF1A3B0825@library-proxy.airnews.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-mailReferences:
<34E972AD.5F8@servicom.es>Show Full Headers
Complete Article Headers
Message-ID: <719EEEF793F027F2.369C48F5F9FB4AC8.82CEC0FF1A3B0825@library-proxy.airnews.net> Subject: Re: HELP: INN Expire is slooooooow Date: Fri, 20 Feb 1998 00:00:00 +0000 From: Frank Durda IV <uhclem.argc@nemesis.lonestar.org> References: <34E972AD.5F8@servicom.es> 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: 327030896 Content-Transfer-Encoding: 8bit X-Orig-Message-ID: <34EDDD2F.500F9F30@nemesis.lonestar.org> Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Time: Fri Feb 20 13:45:24 1998 Organization: The Big Blue Box B NNTP-Proxy-Relay: library.airnews.net Mime-Version: 1.0 Newsgroups: news.software.nntp