Article View: news.software.nntp
Article #18595Slow Expire [was: INN v1.51]
From: Brian K. Zuzga
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
52 lines
2560 bytes
2560 bytes
>>>>> "James" == James Youngman <JYoungman@vggas.com> writes:
>> Anyone know why INN would be slow expiring news? I used to run
>> Linux 1.2.13 and v1.4 with 4.5GB and expire took 3-4
>> hours.. now I run linux 2.0.30 with INN v1.51 and it takes 24+
>> hours to expire 9gb!! And I have MMAP enabled. Anyone know why?
>> Also I have 64M RAM.. I dont think RAM is an issue but if it
>> was I'd slap another 64M in there..
James> This is a frequently asked question (but is it in the
James> FAQ?). The first thing to check is that /tmp is big enough
James> to allow the sort of the expire.rm list to succeed (if you
James> are using delayrm). If not, set TMPDIR in innshellvars or
James> edit news.daily and pass the -T option.
I've checked the temp directory and all my variables, but I am also
still experiencing this problem. As far as I can tell, it is
something to do with DBZ.
My config: FreeBSD 2.2, 200MB RAM, 12GB spool, 200 MHz PPro. INN
1.5.1
Typical have a 350MB history file. No MMAP, since FreeBSD doesn't
recommend it.
Here's the part that confuses me:
makehistory -r -i -s 2500000
succeeds in about 90 seconds
makehistory -r -i -s 3000000
still isn't done after 6 hours, and the files it is producing aren't
quite near the size of the ones from the previous command.
Similiarly, I see expire calling dbzagain, and probably deciding that
3000000 is about the right size for my history file. Then expire is
calling dbzstore for each article and just going painfully slow.
I noticed that my expires were going along fine until I hit this magic
size for my history file, and for the weeks since then it never seems
to complete in a reasonable amount of time.
I'm currently prowling through the DBZ code, but I haven't found
anything elightening yet. Does anyone know any magic #define's to
change or any good DBZ patches?
-boogles
Technical Details
Message-ID:
<vl5radtj7v6.fsf_-_@tolkien.mit.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-mailReferences:
<33A5B804.5D87@dscga.com> <wkbu54gohh.fsf@vggas.com>Show Full Headers
Complete Article Headers
Message-ID: <vl5radtj7v6.fsf_-_@tolkien.mit.edu> Subject: Slow Expire [was: INN v1.51] Date: Mon, 23 Jun 1997 00:00:00 +0000 From: boogles@tolkien.mit.edu (Brian K. Zuzga) References: <33A5B804.5D87@dscga.com> <wkbu54gohh.fsf@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 X-Deja-AN: 252106702 Distribution: world Organization: MIT EE/CS Dept. News Server Newsgroups: news.software.nntp