Thread View: news.software.nntp
6 messages
6 total messages
Started by Mike O'Connor
Fri, 24 Apr 1998 00:00
makehistory took forever when upgrading to insync
Author: Mike O'Connor
Date: Fri, 24 Apr 1998 00:00
Date: Fri, 24 Apr 1998 00:00
18 lines
1280 bytes
1280 bytes
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)? -- 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
Re: makehistory took forever when upgrading to insync
Author: ChaRlIe sTUdLyMufFiN
Date: Wed, 22 Apr 1998 00:00
Date: Wed, 22 Apr 1998 00:00
23 lines
1696 bytes
1696 bytes
On Sat, 25 Apr 1998, Mike O'Connor wrote: > It occurs to me that makehistory should be intelligent enough to > do the "wc -l" bit by default unless -s is explicitly set. I agree, but I think it should be getting the approximate number of entries not from a time-consuming `wc -l' but instead from any previous existing database file (the .dir file in particular), as in my experience it doesn't, and it's painless to extract those values from the .dir file, while actually digging through the text file is a useless exercise to kill time when presented with an accurate existing count of the lines. It's been my experience that using or leaving out the flag to ignore the existing database files makes no difference, and the previous useful history of the count of entries gets lost. Barry Bouwsma
Re: makehistory took forever when upgrading to insync
Author: carpe carpus
Date: Fri, 24 Apr 1998 00:00
Date: Fri, 24 Apr 1998 00:00
31 lines
1830 bytes
1830 bytes
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." Me, i run the makehistory example in the makehistory man page. Works great. rone -- I am ahead I am advanced I am the first mammal to wear pants
Re: makehistory took forever when upgrading to insync
Author: 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
Re: makehistory took forever when upgrading to insync
Author: carpe carpus
Date: Mon, 27 Apr 1998 00:00
Date: Mon, 27 Apr 1998 00:00
25 lines
1634 bytes
1634 bytes
In article <980425034415.AA21356@dojo.mi.org>, Mike O'Connor <mjo@dojo.mi.org> wrote: >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. ;) I can understand why some old arthritic fogey would want to save a few keystrokes, so i humbly apologize. :) >It occurs to me that makehistory should be intelligent enough to >do the "wc -l" bit by default unless -s is explicitly set. Yeah. And i agree with Barry as well; why bother running wc -l on a flat file when there's a perfectly good .dir file lying about? rone -- I am ahead I am advanced I am the first mammal to wear pants
Re: makehistory took forever when upgrading to insync
Author: Mike O'Connor
Date: Fri, 01 May 1998 00:00
Date: Fri, 01 May 1998 00:00
17 lines
1352 bytes
1352 bytes
In article <rone.MonApr27103207PDT1998.12805@ennui.org>, carpe carpus <rone+usenet@ennui.org> wrote: :Yeah. And i agree with Barry as well; why bother running wc -l on a :flat file when there's a perfectly good .dir file lying about? It could be the case that the .dir file isn't perfectly good, which is why it's being rebuilt in the first case. Admittedly, that's doubtful if you're doing the rebuild for a system actually accepting articles. :) -- 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads