🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50357

Re: History dups (was: Re: Has anyone built INN-2.3.1 on Open BSD?)

#50357
From: Andrew Gierth
Date: Thu, 01 Feb 2001 22:35
42 lines
3388 bytes
>>>>> "Charlie" == Charlie Cryptoworks <autocyberretributionmeowbot@plink.invalid> writes:

 >> Everything ran OK, including through the point at which the 'can't
 >> tag' error occurs as the text file gets too big, up until the
 >> point at which

 Charlie> Hmmm, since I've never seen this, you're seeing something
 Charlie> that's new to me.  (Not sure where you'd be seeing that
 Charlie> error either.)

The "can't tag" error goes to the error log (rather than syslog) for
some reason, and winds up in the daily report. (In some older versions
it used to spam the error log with one error per incoming article, but
that got fixed; now it only does it once per history open.)

It happens because the text file offsets get sufficiently big that
they no longer fit in the number of bits available. The fuzzyness
can't be increased until the table is rebuilt on the next expire, so
the offsets have to be stored without tags in the meantime.

 >> the .pag started to overflow. So my suspicions of a problem in the

 Charlie> If your .pag table is overflowing, that means you probably
 Charlie> didn't properly size your database in advance and the
 Charlie> defaults weren't right for you.

That was deliberate in this case, because I was trying to reproduce this
problem, but in normal operation it can also happen due to variations in
traffic levels.

 Charlie> Do you have periodic `cat history.dir' contents, along with
 Charlie> the `ls -l history*' outputs of the same time, to show if
 Charlie> you're seeing the expected overflow from an undersized
 Charlie> database

that is exactly what was happening, yes - there were about 349890
history entries in a default (500009) sized pag file, which is about
the right point to start seeing occasional overflows.

-- 
Andrew.
Technical Details
Message-ID: <87ofwm2frp.fsf@erlenstar.demon.co.uk>
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!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
References: <m3zogbl7mg.fsf@pyrophore.ogoense.net> <87lmrvqt02.fsf@erlenstar.demon.co.uk> <95253f$dpo$1@news.contactel.cz> <87elxnqq2s.fsf@erlenstar.demon.co.uk> <952eb6$e22$1@news.contactel.cz> <m3y9vvezpo.fsf@pyrophore.ogoense.net> <9531ad$f4e$1@news.contactel.cz> <m3zoga7rrn.fsf@pyrophore.ogoense.net> <95371n$fak$1@news.contactel.cz> <m3n1ca7oti.fsf@pyrophore.ogoense.net> <953a8v$fi4$1@news.contactel.cz> <yl3de2r5xt.fsf@windlord.stanford.edu> <87itmwdyhk.fsf@erlenstar.demon.co.uk> <87zog62m9g.fsf_-_@erlenstar.demon.co.uk> <95clho$dd2$1@news.esenet.dk>

Show Full Headers
Complete Article Headers
Message-ID: <87ofwm2frp.fsf@erlenstar.demon.co.uk>
Subject: Re: History dups (was: Re: Has anyone built INN-2.3.1 on Open BSD?)
Date: Thu, 01 Feb 2001 22:35:22 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <m3zogbl7mg.fsf@pyrophore.ogoense.net> <87lmrvqt02.fsf@erlenstar.demon.co.uk> <95253f$dpo$1@news.contactel.cz> <87elxnqq2s.fsf@erlenstar.demon.co.uk> <952eb6$e22$1@news.contactel.cz> <m3y9vvezpo.fsf@pyrophore.ogoense.net> <9531ad$f4e$1@news.contactel.cz> <m3zoga7rrn.fsf@pyrophore.ogoense.net> <95371n$fak$1@news.contactel.cz> <m3n1ca7oti.fsf@pyrophore.ogoense.net> <953a8v$fi4$1@news.contactel.cz> <yl3de2r5xt.fsf@windlord.stanford.edu> <87itmwdyhk.fsf@erlenstar.demon.co.uk> <87zog62m9g.fsf_-_@erlenstar.demon.co.uk> <95clho$dd2$1@news.esenet.dk>
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!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
Newsgroups: news.software.nntp
Organization: disorganised
Lines: 41
NNTP-Posting-Host: erlenstar.demon.co.uk (6667:084b)
X-Mayan-Date: Long count = 12.19.7.16.17; tzolkin = 3 Caban; haab = 0 Pax
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-Attribution: AG
X-P-Persistent-Headers: are a bad idea.
X-Newsreader: Gnus v5.5/Emacs 20.2
X-Complaints-To: andrew@erlenstar.demon.co.uk
X-Post-Filter: postfilter v0.6 alpha