Article View: news.software.nntp
Article #24288Re: Innfeed error..
From: Department of Complaints, Insult...
Date: Thu, 11 Dec 1997 00:00
Date: Thu, 11 Dec 1997 00:00
68 lines
4190 bytes
4190 bytes
On Wed, 10 Dec 1997, Frank Durda IV wrote:
> This is a "it has always done this" problem for us:
>
> Our history file is >675 Meg, and the pag file is 193Meg (right now).
> Average retention is 15 days, minimum database keep is 9 days.
Okay, well, that was the other thing I was thinking, seeing that my
original (and probably false) assumption was that you were running a patch
to make sure channel feeds (such as innfeed) would be written more often
rather than being buffered by innd.
I now suspect you have a different problem. You say your history .pag
database file is now about 200M implying that it varies in size?
Here are some numbers for you to compare, with an interpretation as
well as an observation that we've been seeing between 15 and 20 articles
per second for the last few hours here, so there seems to be a somewhat
higher amount of news traffic today than over the last few days' 800k.
Our history file at the moment is just over 660M in size, which is
remembering things for ten days at present. The number of entries in our
history file is closing in on 9 million. I would guess your number of
entries is similar, or perhaps slightly less, since it's quite possible
that our history lines are somewhat shorter than yours.
Our history file was last rebuilt to handle 8,5 million entries, and
at the time, that would be just under 13 million slots in the hash table.
One would expect to see a history.pag file of around 50M in size with
stock history. In our case, the steady-state size is twice that, but
because the number of entries has overflowed the amount originally
calculated, the number of collisions has increased past a tolerable limit
and our .pag file is almost twice as large.
If you're trying to run a 600+M history text file with stock INN,
you're going to see lots of DBZ collisions with the result that your
database will continue to increase in size. You really don't want to be
letting this happen, as you see. It's really bad. It's slow and sucks up
lots of memory.
You would be advised to turn to a different history DBZ technique.
You can buy a bit of time with the 64-bit patches we're using here,
although that doubles the steady-state size of your .pag database file, or
you might want to look into the DBZ v3.3 from Sang-yong Suh, which steals
a few bits that normally point to the position in your text file, using
them to make collisions less likely, and improving your performance to
what it was when your history file was far smaller.
You can, of course, try an alternative MD5-based history database
format, but the v3.3 has the advantage that it's a plug-in replacement,
fully compatible with the stock v3.2 dbz as supplied. The 64-bit patches
may or may not work for you -- you do have some 64-bit support, but you
may need to massage the code a bit.
I'm hoping that with a bit of history hackery, your .pag database size
will remain constant at something reasonable in the neighbourhood of 50M
or perhaps a bit less, and your innd will behave itself, and while this
doesn't solve your problem with innfeed, you shouldn't need to restart
innd much, and you'll see far better performance overall.
Barry Bouwsma
Of course, I could be wrong.
Technical Details
Message-ID:
<Pine.BSF.3.96.971211001327.18463G-100000@coredump.int.tele.dk>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:
<348C176C.36F81C5E@wcg.net> <8A1D9C9037100F69.14E2AF4D585C5FFC.43558A1E699BD917@library-proxy.airnews.net> <Pine.BSF.3.96.971210195755.29155F-100000@coredump.int.tele.dk> <6612E89BB8F82F92.D79352AEC92A89F5.73F771306FE4DCB9@library-proxy.airnews.net>Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.971211001327.18463G-100000@coredump.int.tele.dk> Subject: Re: Innfeed error.. Date: Thu, 11 Dec 1997 00:00:00 +0000 From: "Department of Complaints, Insults, and Verbal Abuse" <abuse@tele.dk> References: <348C176C.36F81C5E@wcg.net> <8A1D9C9037100F69.14E2AF4D585C5FFC.43558A1E699BD917@library-proxy.airnews.net> <Pine.BSF.3.96.971210195755.29155F-100000@coredump.int.tele.dk> <6612E89BB8F82F92.D79352AEC92A89F5.73F771306FE4DCB9@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-mail X-Deja-AN: 297060605 X-Sender: abuse@coredump.int.tele.dk Organization: Mr. Usenet Reply-To: ag786@yfn.ysu.edu Newsgroups: news.software.nntp