Article View: news.software.nntp
Article #27847Re: makehistory took forever when upgrading to insync
From: Mike O'Connor
Date: Sat, 25 Apr 1998 00:00
Date: Sat, 25 Apr 1998 00:00
44 lines
2693 bytes
2693 bytes
In article <rone.FriApr24174524PDT1998.1266@ennui.org>, carpe carpus <rone+usenet@ennui.org> wrote: :In article <980424231408.AA18243@dojo.mi.org>, :Mike O'Connor <mjo@dojo.mi.org> wrote: :>As part of upgrading a big server to 1.7.2+insync1.1d, I ran "sh :>BUILD" and allowed it to invoke makehistory -r -i. Given a new dbz :>format, this seemed like a good idea. But unless I did a -s `wc -l :><history.n`, the makehistory would take a LONG time to complete. I'm :>guessing 4-6 hours for my 250MB history file, but I didn't wait that :>long. :) :>Is this a known problem? Would adding -s to the BUILD script for :>future revs of INN be a good idea, just in general, or am I hitting :>a new dbz-ism or perhaps a quirk on my platform (IRIX 6.2, R4400)? : :I quote from _Managing Usenet_, section 7.3: : :"Do not bother with the /BUILD/ script in the top-level directory of :the INN source tree. Although it may give some people warm fuzzies to :answer prompts, the script isn't doing anything complex and you'll :have a better understanding of your system if you do the necessary :steps yourself." No, it doesn't do anything complex. But I write lots of code that doesn't do anything terribly complex. It reduces the risk of typos and saves me a few keystrokes. On some days, that's worth a lot, especially when some Usenet II weenie from Silicon Valley tries telling **ME** about how to set up a fu!#^%@^ing news server. ;) :Me, i run the makehistory example in the makehistory man page. Works :great. It occurs to me that makehistory should be intelligent enough to do the "wc -l" bit by default unless -s is explicitly set. So yeah, bothering with the BUILD script is probably the wrong place. If the difference between -s and no -s is hours vs. minutes for any reasonably sized history file, it should at least be noted. -- Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481
Technical Details
Message-ID:
<980425034415.AA21356@dojo.mi.org>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:
<980424231408.AA18243@dojo.mi.org> <rone.FriApr24174524PDT1998.1266@ennui.org>Show Full Headers
Complete Article Headers
Message-ID: <980425034415.AA21356@dojo.mi.org> Subject: Re: makehistory took forever when upgrading to insync Date: Sat, 25 Apr 1998 00:00:00 +0000 From: Mike O'Connor <mjo@dojo.mi.org> References: <980424231408.AA18243@dojo.mi.org> <rone.FriApr24174524PDT1998.1266@ennui.org> 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: 347495221 Organization: The Internet Reply-To: Mike O'Connor <mjo@dojo.mi.org> Newsgroups: news.software.nntp