Article View: news.software.nntp
Article #6928Re: newsfeed wanted.
From: Joe Greco
Date: Thu, 25 Apr 1996 00:00
Date: Thu, 25 Apr 1996 00:00
39 lines
2397 bytes
2397 bytes
In news.software.nntp article <4lk4mg$sqg@olivea.ATC.Olivetti.Com>, jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre) wrote: :A fix is to rebuild the DBZ files. It is NOT necessary to rebuild the :history text file. Rebuilding the DBZ files takes about 10 minutes. :The "makehistory -r" will correctly calculate the new offset and tag :sizes for the current size of the history file. The man page :(news-recovery) explains how to do this. : :By example, my history size and history.dir contents: : :-rw-r--r-- 4 news 129143650 Apr 23 19:17 history : :dbz 3 3100289 9 C 16 15 27 4 0 1 2 3 :1974090 2000964 1991104 2034754 2021149 2036300 2036203 2066025 2062602 2066855 2058096 : :Notice that the 8th field is "27". That is the number of bits reserved :for the seek offsets in the history.pag file. Using that size offset :I can handle a history file of 2**27 or 134 Meg. Then there are 4 bits :of tag and a one bit flag. Each lookup that finds an entry in the :history.pag file is hashed and compared to the tag. Thus only 1 in 16 :actually need a read of the history file to verify the match. "Solve the problem" 8^) hummin# cat history.dir dbz 3 1946377 9 C 536870912 536870911 34 8 7 6 5 4 3 2 1 0 1296732 1297583 1276086 1264831 1249725 1247994 1238171 1233960 1241286 1256362 1256735 Notice _my_ 8th field ;-) If you do the math, it suggests that only one article a year needs a read of the history to disprove a match ;-) news.sol.net performs very well.. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Technical Details
Message-ID:
<4looa2$36d@brasil.moneng.mei.com>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-mailReferences:
<4l8jg8$pcd@bull.hkstar.net> <Pine.GSO.3.92.960420233653.18974E-100000@netdoor.com> <4lk4mg$sqg@olivea.ATC.Olivetti.Com>Show Full Headers
Complete Article Headers
Message-ID: <4looa2$36d@brasil.moneng.mei.com> Subject: Re: newsfeed wanted. Date: Thu, 25 Apr 1996 00:00:00 +0000 From: jgreco@brasil.moneng.mei.com (Joe Greco) References: <4l8jg8$pcd@bull.hkstar.net> <Pine.GSO.3.92.960420233653.18974E-100000@netdoor.com> <4lk4mg$sqg@olivea.ATC.Olivetti.Com> 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: 151437844 Distribution: inet Organization: Marquette Electronics, Inc. - Milwaukee, WI. Newsgroups: news.software.nntp