🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6838

Re: History Lookup Problems

#6838
From: Jerry Aguirre
Date: Wed, 24 Apr 1996 00:00
21 lines
1766 bytes
In article <gergDqCBpz.Irn@netcom.com> gerg@netcom.com (Greg Andrews) writes:
>I didn't test it with the INN servers (I was in a hurry to get expire
>working again), so I don't know if they'll have the same problem.
>Based on past discussions of the dbz internals in this newsgroup,
>I tend to think INN could have similar problems if the database
>isn't built right.

I havn't looked at C news but INN's expire does not recalculate the
DBZ tag size as the history file grows.  If you start out with the
default 24 bit seek + 7 bit tag + 1 bit flag then once your history
is bigger than 2**24 (16 Meg.) DBZ stops using tags.  Without the tags
DBZ has to look into the history file to compare IDs generating more
IO.  Anyone with a significant feed is going to have a history file
over 16 Meg. by now.

Rebuilding the DBZ with the makehistory -r proceedure corrects the
problem as it does calculate the tags size based on the size of the
history file.  Given that any editing of the history file is going to
require rebuilding the DBZ the improvement may be just due to that step.

Technical Details
Message-ID: <4llq93$mle@olivea.ATC.Olivetti.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
References: <4lguvk$7p5@terra-x.syr.edu> <4lj9u4$t1r@augusta.math.psu.edu> <gergDqCBpz.Irn@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <4llq93$mle@olivea.ATC.Olivetti.Com>
Subject: Re: History Lookup Problems
Date: Wed, 24 Apr 1996 00:00:00 +0000
From: jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre)
References: <4lguvk$7p5@terra-x.syr.edu> <4lj9u4$t1r@augusta.math.psu.edu> <gergDqCBpz.Irn@netcom.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: 151214271
Distribution: inet
Organization: Olivetti ATC; Cupertino, CA; USA
Keywords: innd, history
Newsgroups: news.software.nntp