Article View: news.software.nntp
Article #90616Re: INN performance curve - why so much time dealing with the history file?
From: Russ Allbery
Date: Wed, 26 Jul 2023 03:24
Date: Wed, 26 Jul 2023 03:24
30 lines
2150 bytes
2150 bytes
Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes:
> The history file is ~18GB. How would one go about pre-sizing it? That is
> one topic I don't think I've stumbled across.
(Note that this is unnecessary now; now that you've run news.daily after
feeding in all the articles, it will have been resized to match its
current size, so this problem hopefully won't matter any more. If you're
still seeing ongoing slowness, then I misunderstood.)
Running makedbz manually will let you provide the -s flag, which specifies
the number of entries to size the history file for. news.daily will use
the current size as the expected size. When you're going to feed in a ton
of articles, you want to pass in something much, much larger, roughly the
number of entries you're expecting to have at the end. The relevant
instructions in INSTALL are:
| Next, you need to create an empty F<history> database. To do this, type:
|
| cd <pathdb in inn.conf>
| touch history
| makedbz -i -o
which possibly should mention the -s flag.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87y1j3xsl4.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<u9q0c8$28ja$1@nnrp.usenet.blueworldhosting.com> <87351bz91n.fsf@hope.eyrie.org> <u9q2rs$1d3h$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <87y1j3xsl4.fsf@hope.eyrie.org> Subject: Re: INN performance curve - why so much time dealing with the history file? Date: Tue, 25 Jul 2023 20:24:55 -0700 From: Russ Allbery <eagle@eyrie.org> References: <u9q0c8$28ja$1@nnrp.usenet.blueworldhosting.com> <87351bz91n.fsf@hope.eyrie.org> <u9q2rs$1d3h$1@nnrp.usenet.blueworldhosting.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="30902"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:Bw3Dq2nUi3x9KEhuFoVpdQFN/mY=