Article View: news.software.nntp
Article #38815Re: INN-2.3 makehistory problems
From: bill davidsen
Date: Fri, 23 Jul 1999 00:00
Date: Fri, 23 Jul 1999 00:00
78 lines
4790 bytes
4790 bytes
In article <yl6r9m0ja4n.fsf@intrepid.ecn.ou.edu>, Richard Michael Todd <rmtodd@intrepid.ecn.ou.edu> wrote: | 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.) That's thought... on the one system the /usr/local/news is a tad small. I had assumed that it was using either /tmp (/usr/tmp /var/tmp) rather than /usr/local/news/tmp, but if the error could have some out of the temp write maybe a run with -T would give additional info. Also maybe a smaller -l than default. I want to look at this when I'm not covering for people on vacation, I'd like to try to fork() off the overview in batches, at least as an option, because most of my machines are SMP and have a CPU idle. | > | 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 This is certainly possible, I was rebuilding history because it got messed up somehow while I was playing. | b) something's seriously hosed in SMnext(), and the storage manager | code is giving the same article twice. Less likely, or at least I have no evidence of it. | 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? CNFS with tagged hash. My test machines are small, 128 or 256MB, while I have run without tagged hash in that size and had minimal swapping (few readers) I want to do this testing with the idea of possibly actually using the machines for limited production. | | > 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. I will undoubtedly try that at some point, historically overview has been more fragile that the history file, although with the new overview who knows? Thanks for all the feedback, this last bit on temp space may be the charm, since I found the message in the source where I expected it and didn't go looking after that. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc The Internet is not the fountain of youth, but some days it feels like the fountain of immaturity.
Technical Details
Message-ID:
<7na5gk$31rg$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-mailReferences:
<7n32od$3oe4$1@newssvr03-int.news.prodigy.com> <yl67lnulpbp.fsf@intrepid.ecn.ou.edu> <7n4n3m$3g12$1@newssvr03-int.news.prodigy.com> <yl6r9m0ja4n.fsf@intrepid.ecn.ou.edu>Show Full Headers
Complete Article Headers
Message-ID: <7na5gk$31rg$1@newssvr03-int.news.prodigy.com> Subject: Re: INN-2.3 makehistory problems Date: Fri, 23 Jul 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <7n32od$3oe4$1@newssvr03-int.news.prodigy.com> <yl67lnulpbp.fsf@intrepid.ecn.ou.edu> <7n4n3m$3g12$1@newssvr03-int.news.prodigy.com> <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-mail X-Deja-AN: 504453362 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr03-int.news.prodigy.com 932747604 100208 199.4.137.118 (23 Jul 1999 16:33:24 GMT) Organization: TMR Associates, Schenectady NY NNTP-Posting-Date: 23 Jul 1999 16:33:24 GMT Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com