🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16523

Re: Duplicate articles with INN (bug?)

#16523
From: Steinar Haug
Date: Mon, 31 Mar 1997 00:00
38 lines
1867 bytes
[Frank Durda IV]

|   > 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.

As far as I can see DEFSIZE is only used when initializing the database
without supplying any info about size.

We have around 4.5 million entries in the history database. The first
line of history.dir contains:

dbz 3 7050193 9 C 4 3 29 4 0 1 2 3

and it's the second number, 7050193, which is used as the table size
(line 1225 in dbz.c: cp->tsize = getno(df, &err);). So I don't believe
that DEFSIZE is the problem here.

|   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.

Looks to me like it *does* work - this database has grown from zero.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Technical Details
Message-ID: <5hp5t7$htn@verdi.nethelp.no>
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: <5hp5t7$htn@verdi.nethelp.no>
Subject: Re: Duplicate articles with INN (bug?)
Date: Mon, 31 Mar 1997 00:00:00 +0000
From: sthaug@nethelp.no (Steinar Haug)
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: 229730124
Cache-Post-Path: dole.uninett.no!unknown@verdi.nethelp.no
Organization: Nethelp Consulting, Trondheim, Norway
Newsgroups: news.software.nntp