🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Robert S Brewer Mon, 12 Aug 1996 00:00
Best way to rebuild history file
#10043
Author: 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

Re: Best way to rebuild history file
#10060
Author: Jonathan Larmour
Date: Tue, 13 Aug 1996 00:00
21 lines
1446 bytes
In article <4upgs7$7eu@malasada.lava.net>,
Robert S Brewer <rbrewer@lava.net> wrote:
[snip]
>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.

Perhaps you could replace the symlinks with actual copies of the symlinked-to
files?

Disclaimer: This is only a guess - use at own risk!

Jonathan L.
-- 
Origin UK, 323 Cambridge Science Park, Cambridge, England. CB4 4WG.
-------[ Do not think that every sad-eyed woman has loved and lost... ]------
-----------------------[ she may have got him. -Anon ]-----------------------
These opinions are all my own fault.

Re: Best way to rebuild history file
#10085
Author: Robert S Brewer
Date: Tue, 13 Aug 1996 00:00
17 lines
1279 bytes
In article <4upgs7$7eu@malasada.lava.net>,
Robert S Brewer <rbrewer@lava.net> wrote:
>Recently I had my newslib disk fill up in the middle of an expire run. I
[...]
>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.

Sorry to follow up to my own article, but for the record I am running
INN 1.4unoff4 on a P90 running BSD/OS 2.1 (with all the patches).
-- 
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

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