Article View: news.software.nntp
Article #46142Re: changing numbering in active file
From: Russ Allbery
Date: Fri, 28 Apr 2000 00:00
Date: Fri, 28 Apr 2000 00:00
42 lines
2880 bytes
2880 bytes
rmtodd <rmtodd@amonduul.ecn.ou.edu> writes: > In looking at the man page for makehistory, I see that part of it hasn't > been updated to correspond with the way -u actually works in 2.3, and > that if you believed what the docs said, this could explain some of your > problems. Sorry about that. > Specificially, the section on the -u flag says: > -u If the `-u'' flag is given, then makehistory > assumes that innd is running. It will throttle the > server while scanning, and then send `addhist'' > commands (see ctlinnd(8)) to the server for any > article that is not found in the dbz database. The > command `makehistory -bu'' is useful after a sys- > tem crash, to delete any mangled articles and bring > the article database back into a more consistent > state. I've now rewritten this man page for the 2.3.0 release. The section on -u now has: =item B<-u> This option enables "update" mode. In this mode, B<makehistory> will only generate history (and overview if B<-O> is given) data for articles not already found in the history file. This can be useful after a system crash, particularly in combination with B<-b> to delete any mangled articles. Note that B<-u> will not throttle innd(8) even if it's running, and the B<-f> option is mandatory to specify the file to which the additional history entries are written. If B<-O> is given, overview information will be updated as B<makehistory> is running; this is safe as the overview storage methods lock against multiple updates. The most useful thing to do with the new history entries, after B<makehistory> finishes, is to throttle innd with ctlinnd(8), append the history entries to the end of the history file, run makedbz(8) to rebuild the indexes, and then unthrottle innd. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<yl7ldiqyic.fsf@windlord.stanford.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:
<8e20e0$r12$1@news.jump.net> <863doane7i.fsf@amonduul.ecn.ou.edu> <8e5m05$j69$1@ucan.foad.org> <868zy0po41.fsf@amonduul.ecn.ou.edu> <8e7qub$b9g$1@ucan.foad.org> <864s8op4ch.fsf@amonduul.ecn.ou.edu> <86vh14nmpz.fsf@amonduul.ecn.ou.edu>Show Full Headers
Complete Article Headers
Message-ID: <yl7ldiqyic.fsf@windlord.stanford.edu> Subject: Re: changing numbering in active file Date: Fri, 28 Apr 2000 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <8e20e0$r12$1@news.jump.net> <863doane7i.fsf@amonduul.ecn.ou.edu> <8e5m05$j69$1@ucan.foad.org> <868zy0po41.fsf@amonduul.ecn.ou.edu> <8e7qub$b9g$1@ucan.foad.org> <864s8op4ch.fsf@amonduul.ecn.ou.edu> <86vh14nmpz.fsf@amonduul.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: 616732463 Content-Type: text/plain; charset=us-ascii Organization: The Eyrie Mime-Version: 1.0 User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne) Newsgroups: news.software.nntp