Article View: news.software.nntp
Article #38805Re: INN-2.3 makehistory problems
From: Richard Michael Todd
Date: Thu, 22 Jul 1999 00:00
Date: Thu, 22 Jul 1999 00:00
48 lines
3096 bytes
3096 bytes
davidsen@tmr.com (bill davidsen) writes: > No, the error is something to do with "can't close history" which I have > since deleted. Hmm. The only places I can see that that error can come from in makehistory is if the fflush() or fclose() fails on the history file, or on the temp file used in the creation of overview. (Furgle. It *shouldn't* say "can't close history" in that case; that code is the result of a little overzealous cut-and-pasting, and will be fixed in a little while. Sorry about that.) > | I don't see how makedbz can fail and innd can work. > > I think the problem is in the makehistory portion. There are definitely > duplicate entries in the history file, and makedbz complains bitterly. As you say, that's seriously bizarre. The only way makehistory can get dupe message-ids is if a) you actually have duplicate messages in the spool, i.e. the same message stored in different locations, or b) something's seriously hosed in SMnext(), and the storage manager code is giving the same article twice. a) is definitely a possibility if, for some reason, the history file and/or dbz indexes got corrupted some time in the past and dupe articles got onto the spool. b), if true, would definitely be a major cause for concern. I don't recall if you mentioned this in your original article, but what storage manager were you using (CNFS, timehash, etc), and are you using tagged-hash or not? > Another odd fact, the overview built by makehistory seems to be > legitimate. I saved the original (valid) history file before starting > this test, and after makehistory failed I tried using the new overview, > which appears to be just fine. That's not too odd. With the new overview scheme, essentially if you try to write new overview data for a given article, it just overwrites the old overview data. (Actually it overwrites the entry to the .IDX file and appends to the .DAT file, so the entry appears overwritten, but the old entry still takes up disk space that won't be reclaimed until the next expireover). I've even run makehistory -O -x (rebuild overview, don't write a history file) with innd up and running and it works okay.
Technical Details
Message-ID:
<yl6r9m0ja4n.fsf@intrepid.ecn.ou.edu>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:
<7n32od$3oe4$1@newssvr03-int.news.prodigy.com> <yl67lnulpbp.fsf@intrepid.ecn.ou.edu> <7n4n3m$3g12$1@newssvr03-int.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <yl6r9m0ja4n.fsf@intrepid.ecn.ou.edu> Subject: Re: INN-2.3 makehistory problems Date: Thu, 22 Jul 1999 00:00:00 +0000 From: Richard Michael Todd <rmtodd@intrepid.ecn.ou.edu> References: <7n32od$3oe4$1@newssvr03-int.news.prodigy.com> <yl67lnulpbp.fsf@intrepid.ecn.ou.edu> <7n4n3m$3g12$1@newssvr03-int.news.prodigy.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: 504266832 X-Complaints-To: news@mailhost.ecn.ou.edu X-Trace: skywalker.ecn.ou.edu 932701944 23936 129.15.112.112 (23 Jul 1999 03:52:24 GMT) Organization: University of Oklahoma, Engineering Computer Network NNTP-Posting-Date: 23 Jul 1999 03:52:24 GMT Newsgroups: news.software.nntp