🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8300

Re: Sluggish INND response?

#8300
From: Brian Tao
Date: Wed, 05 Jun 1996 00:00
41 lines
2384 bytes
In article <4orr7g$j3d@sophocles.algonet.se>, Erland Sommarskog <sommar@sophocles.algonet.se> wrote:
>
> INN makes an initial guess, but it goes far off the mark for a 20 GB,
> so you end up with a hash table which is overflowed over and over
> again, leading to excessive retrieval times. The fix was
> simple:rebuild the history.pag and history.dir files with the size of
> the current history file as input.

    Forgive my obvious question, but doesn't the normal INN expire
(not dexpire) rebuild the dbz file each time?  Or do I have to
explicitly rehash?  I've run into the same problem as the original
poster, except on a news server that is several months in operation.
It was running very responsively at first (P133 with 128MB and 9
spindles could kick up a connection within 10 seconds, even with 200+
readers and a dozen streaming sites).  Now it will sometimes hang for
up to 1.5 minutes before coming back with a response (or the
connection to the newsreader times out).

    I've been exploring other avenues of solving the problem,
preferring *not* to rebuild the history file if at all possible, since
my spool is spread out over 7 filesystems.

    Here are the current file sizes:

222040 -rw-rw-r--  1 news  news  227243648 Jun  5 00:15 history
     1 -rw-rw-r--  1 news  news        123 Jun  5 00:15 history.dir
 17888 -rw-rw-r--  1 news  news   18289412 Jun  5 00:15 history.pag

    And this is history.dir:

dbz 3 4572353 9 C 8 7 28 4 3 2 1 0
2886894 2854955 2856422 2853406 2850819 2866849 2911323 2932188 2951080 2990568 3014482

    What is the significance of those numbers?
-- 
Brian Tao (BT300, taob@io.org, taob@ican.net)
Systems and Network Administrator, Internet Canada Corp.
"Though this be madness, yet there is method in't"

Technical Details
Message-ID: <4p31gb$88r@zot.io.org>
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
References: <4o4pif$lr1@epimetheus.algonet.se> <4orr7g$j3d@sophocles.algonet.se>

Show Full Headers
Complete Article Headers
Message-ID: <4p31gb$88r@zot.io.org>
Subject: Re: Sluggish INND response?
Date: Wed, 05 Jun 1996 00:00:00 +0000
From: taob@zot.io.org (Brian Tao)
References: <4o4pif$lr1@epimetheus.algonet.se> <4orr7g$j3d@sophocles.algonet.se>
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: 158535417
Organization: Internex Online Inc., Toronto, Ontario, Canada
Newsgroups: news.software.nntp