Article View: news.software.nntp
Article #50360Re: History dups (was: Re: Has anyone built INN-2.3.1 on Open BSD?)
From: Andrew Gierth
Date: Fri, 02 Feb 2001 04:28
Date: Fri, 02 Feb 2001 04:28
63 lines
4439 bytes
4439 bytes
>>>>> "Charlie" == Charlie Concatenated <autocyberretributionmeowbot@plonk.invalid> writes: [can't tag] >> It happens because the text file offsets get sufficiently big that >> they no longer fit in the number of bits available. The fuzzyness Charlie> This sounds wrong to me unless I'm misunderstanding fuzzy Charlie> offset, or your text file has reached the point where one Charlie> would see problems no matter what one does. the server I've been testing this on is quite small - when starting from scratch, the first 'can't tag' happens when the text file gets to 16M Charlie> It was my understanding that the table entry was composed of Charlie> the most significant bits of the offset, and that increasing Charlie> the bytes available for the tag decreased the precision of Charlie> the offset, rather than putting a limit on the value and Charlie> therefore file size. this is not quite how it works When a new .pag file is built, either initially or during expire, the dbz code chooses how many bits to allocate to the tag, and how many bits to drop from the offset. For example, the default (with the 2.2 code that I use) is to allocate 8 bits of tag (one of which is used for the "tag present" bit) and 24 bits of offset, with no bits dropped. When your text file reaches 16M, the offsets no longer fit, and so the subsequent entries are not tagged; the next expire will then adjust the number of dropped bits, and possibly the number of tag bits, to try and avoid it happening again. Once the history size stabilises, the error should no longer occur (and if you correctly predict the size at initialisation time, it may never occur) [overflows] Charlie> Well yeah, but unless you're taking in close to a full feed Charlie> or not expiring regularly, I would expect to see your Charlie> overflow requiring no more than a single overflow table. only a single overflow table was required - but the code had put entries into a second overflow table regardless. i.e. the use of the second overflow table is clearly a bug. BTW, I'm pretty sure that the dbz in 1.7.2+insync does not display this problem. [...] Charlie> But what disturbs me is that at such a normal case (unlike, Charlie> say, when you have 2 million entries in a table set for two, Charlie> er, a third of a million, your overflow entries aren't Charlie> limited to a single table, and with a handful of them you Charlie> already need a second table. It's clearly not possible to need a second table with only 8 overflow entries in total (especially since MAXRUN seems to be set to 100), and the fact that the entries in the second table can not be retrieved by lookups clearly indicates that they should not be there. -- Andrew.
Technical Details
Message-ID:
<87lmrp1zep.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!newsmonsterReferences:
<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> <87ofwm2frp.fsf@erlenstar.demon.co.uk> <95dauj$erl$1@news.esenet.dk>Show Full Headers
Complete Article Headers
Message-ID: <87lmrp1zep.fsf@erlenstar.demon.co.uk> Subject: Re: History dups (was: Re: Has anyone built INN-2.3.1 on Open BSD?) Date: Fri, 02 Feb 2001 04:28:46 +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> <87ofwm2frp.fsf@erlenstar.demon.co.uk> <95dauj$erl$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: 62 NNTP-Posting-Host: erlenstar.demon.co.uk (0319:06bf) X-Mayan-Date: Long count = 12.19.7.16.18; tzolkin = 4 Etznab; haab = 1 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