Article View: news.software.nntp
Article #19257Re: Very Slow Expire
From: Ross Alexander
Date: Mon, 14 Jul 1997 00:00
Date: Mon, 14 Jul 1997 00:00
46 lines
2279 bytes
2279 bytes
Paul Black <paulb@iggy.triode.net.au> writes:
>The inn version is 1.5.1 and is the redhat 4.2 binary. I've checked that
[...]
>The expire process seems to only use a little cpu and keeps running for a
>long elapsed time, the disk in use light suggests the disks are busy all
>the time. The machine is not swapping (128 MB RAM).
Try passing through the top-level CFLAGS on the line in
$INNSOURCE/expire/Makefile that creates the dbz module. I did this,
and my expire times dropped from 13 hours to ten minutes. Here's a
context diff:
*** Makefile Tue Jul 1 16:34:06 1997
--- Makefile~ Thu May 29 17:58:08 1997
***************
*** 97,103 ****
# any -DMMAP in DBZCFLAGS - using mmap() for dbz in expire can slow it
# down really bad, and has no benefits as it pertains to the *new*
../include/dbz.h:
(cd ../lib ; $(MAKE) ../include/dbz.h)
--- 97,103 ----
# any -DMMAP in DBZCFLAGS - using mmap() for dbz in expire can slow it
# down really bad, and has no benefits as it pertains to the *new* .pag.
dbz.o: ../lib/dbz.c
! $(CC) $(CFLAGS) -c ../lib/dbz.c
../include/dbz.h:
(cd ../lib ; $(MAKE) ../include/dbz.h)
What's really wierd is that this is the exact opposite of what all the
comments talk about. I'm running inn 1.5.1 (plus a few patches) under
BSDi 2.1 patchlevel 27 on a p5/133 machine with a SCSI disk farm; we
take about 140k articles a day.
regards,
Ross
--
R x e v d - ( ) 5 1 - r c t a u read .sig text
o A a r e q - 4 1 - w s h s . top to bottom &
s l n , 6 0 6 6 a . a c c left to right,
s e d p 3 7 3 @ a b a a thanks.
Technical Details
Message-ID:
<5qdojn$vr$1@aurora.cs.athabascau.ca>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:
<5qcts1$qpi@hyperion.triode.net.au>Show Full Headers
Complete Article Headers
Message-ID: <5qdojn$vr$1@aurora.cs.athabascau.ca> Subject: Re: Very Slow Expire Date: Mon, 14 Jul 1997 00:00:00 +0000 From: rwa@cs.athabascau.ca (Ross Alexander) References: <5qcts1$qpi@hyperion.triode.net.au> 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: 257145939 Distribution: inet Organization: Athabasca University Newsgroups: news.software.nntp