🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16527

Re: Duplicate articles with INN (bug?)

#16527
From: Frank Durda IV
Date: Mon, 31 Mar 1997 00:00
46 lines
2215 bytes
> [Don Lewis]
>There are 4413 duplicate articles in the history! Any ideas?
>What might be causing this?! I am using INN 1.5.1 under FreeBSD 2.1.6
>without MMAP.
>ACK!  I've got 59K message-ID's that are duplicated!

> Steinar Haug wrote:
> Same thing here. 160K message-IDs that are duplicated. Never more than
> two of each though.


Look in dbz/dbz.c and see what DEFSIZE set to.  Then 
do    wc history

If the number of entries in history is more than the
value of DEFSIZE, your database is at fault and is corrupted.
You have too many articles for the database as compiled.

If the entry count is more than 60% of the size of DEFSIZE, lookup
speeds are impacted.

Bump DEFSIZE up to a nice large prime number, about 2.1 times
larger than your current article count.   We use:

#define DEFSIZE 15000017        /*<2>Went beyond 3 million articles*/

and it took care of the problem for us a long time ago.  Don't
set the value insanely high, just high enough so you won't
bump into it anytime soon.

You will have to rebuild your history database and don't
let makehistory use the old .dir file as a template.

I was once told that the dbz code automatically dealt with growth
beyond the prime, but in my opinion that code, if present,
doesn't work.


Frank Durda IV <uhclem@nemesis.lonestar.org>|"I'm sorry Dave, but I have
or uhclem%nemesis@rwsystr.nkn.net | deleted Windows '95 from the entire system."
                                  | - What A. C. Clarke claims he would have
or ...letni!rwsys!nemesis!uhclem  | HAL say if he was writing 2001 today.
(c) 1997, ask before reprinting.

Technical Details
Message-ID: <3340031F.446B9B3D@nemesis.lonestar.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: <5heo2g$eol$1@sun579.rz.ruhr-uni-bochum.de>

Show Full Headers
Complete Article Headers
Message-ID: <3340031F.446B9B3D@nemesis.lonestar.org>
Subject: Re: Duplicate articles with INN (bug?)
Date: Mon, 31 Mar 1997 00:00:00 +0000
From: Frank Durda IV <uhclem@nemesis.lonestar.org>
References: <5heo2g$eol$1@sun579.rz.ruhr-uni-bochum.de>
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: 229687201
Organization: The Big Blue Box B
Newsgroups: news.software.nntp