Article View: news.software.nntp
Article #49601History file overflows...
From: Charlie Toor
Date: Sat, 30 Dec 2000 19:55
Date: Sat, 30 Dec 2000 19:55
31 lines
2752 bytes
2752 bytes
Howdy! 'Mornin'! 'Evenin'! G'Day! 'Sup! Werd! I'm noticing history hash table overflows with INN's MD5 history mechanism at message ID counts somewhat less than the tables were built for. It almost seems that they are happening earlier, as one gets an increasing number of entries in the text file. For example, I've built a database with an expected maximum size of 15 million entries. However, the hash files overflow at some point closer to 14 million entries, which adds both a bit of a time penalty for accesses as well as a disk space penalty. Has anyone else looked into this? I don't know if a better solution would be to rewire the dbz k0de with a slightly larger multiplier, so that instead of building for today's 15 million entries, I'd be building a table of a size that today I'd build for, say, 16 million entries, or if it would be better to tweak the threshhold as which the dbz k0de gives up and overflows the existing table. I'm also wondering if I should rewrite the expiry k0de so that if the effective result would be to shrink the new hash files from the size of the existing ones (when a full cycle is reached of the history.dir ID count history, not based on the possibly overflowed on-disk files), the hash tables remain the same size, allowing one to pre-specify a larger ID count to prevent overflows or to match expected growth over more than a week, without undoing this supposedly wise size estimate. Obviously, only suitable for a site that keeps close watch on history counts and sizes. Thoughts? Comments? Insults? Cheers!
Technical Details
Message-ID:
<meowbot-AutoPurgatory-46@netscum.dQ>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!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!news.netcologne.de!news.tele.dk!notnews.pr0npusher.netscum.dQ.POSTED!pedophiles.netscum.dk!news.netscum.dk!pedophileShow Full Headers
Complete Article Headers
Message-ID: <meowbot-AutoPurgatory-46@netscum.dQ> Subject: History file overflows... Date: Sat, 30 Dec 2000 19:55:46 +0000 From: Charlie Toor <pedophile@pedophile.pedo> 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!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!news.netcologne.de!news.tele.dk!notnews.pr0npusher.netscum.dQ.POSTED!pedophiles.netscum.dk!news.netscum.dk!pedophile Newsgroups: news.software.nntp,news.admin.pedophile.barry-bouwsma Organization: _.-=~^~=-._ :noitazinagrO Lines: 30 NNTP-Posting-Host: 2dd950811eed8cd4920adef76f5c8ccd.newsbastards.org X-Trace: sleepless.newsbastards.org 978206146 a5f0620887fbac184f63731548e3b0d9 X-Complaints-To: Department of Ingore-O-Grams <bitbucket@news.inet.tele.dk> X-Pedophile: BARRY BOUWSMA IS A PEDOPHILE!!! X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300