🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #10043

Best way to rebuild history file

#10043
From: Robert S Brewer
Date: Mon, 12 Aug 1996 00:00
43 lines
2698 bytes
Recently I had my newslib disk fill up in the middle of an expire run. I
thought that the disk might fill up, so I set "expdir=/var/tmp" (which had
plenty of disk space). Unfortunately this backfired because when it tried to
copy the history file back to my newslib, there wasn't enough room and I
ended up with a truncated history file.

I have solved the disk space problem, but now I have this history file which
doesn't have most of the articles from my spool in it. I need to rebuild my
history file.

I have read the "makehistory" man page, and it appears that what I should do
is "makehistory -b" (or something more complicated like the example on the
makehistory man page). Unfortunately, there is this itsy-bitsy caveat at the
end of the end of the makehistory section: "Makehistory does not handle
symbolic links." and goes on to explain that you should just delete all the
symlinks in your spool. My spool is split across three disks (isn't
everyones'? :) I find the prospect of losing every crossposted article in my
spool rather nasty.

What I am looking for is a way to bring my history file up to date without
deleting all my symlinks. Is there a way? A new version of makehistory? A
magic flag that isn't documented? Any help would be most appreciated.

Also, if I remember correctly, rebuilding the history file usually takes a
LONG time, during which the server has to be throttled. Obviously, I want
to be throttled for as short a time as possible. The manpage says that you
can use the "-u" flag to run makehistory while innd is running. Can I
rebuild my history file this way, thus reducing the throttled period greatly?
Or does this have some other problem (takes way too long, runs out of memory,
etc)?

I am hoping to find some solution to this in the next 24 hours so I can
implement it before my spool overflows due to most of the articles not being
listed in the history file.

Thanks!
-- 
Robert S. Brewer                               For information about LavaNet   
Vice President, LavaNet Inc.                    link to http://www.lava.net/ 
rbrewer@lava.net                                  email to info@lava.net

Technical Details
Message-ID: <4upgs7$7eu@malasada.lava.net>
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

Show Full Headers
Complete Article Headers
Message-ID: <4upgs7$7eu@malasada.lava.net>
Subject: Best way to rebuild history file
Date: Mon, 12 Aug 1996 00:00:00 +0000
From: rbrewer@lava.net (Robert S Brewer)
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: 173898426
Distribution: inet
Organization: LavaNet, Inc.
Newsgroups: news.software.nntp