🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Damir Jurica Wed, 11 Apr 2001 16:39
rebuilding history files
#51734
Author: Damir Jurica
Date: Wed, 11 Apr 2001 16:39
14 lines
1595 bytes
	Sometimes when my news server (innd 2.3.0)  crashes because of power
outages i have to rebuild history files.During that rebuilding i always shut 
down innd and let makehistory do its work. Surely customers at our provier arent
too happy about that so i'd like to know if i can delete history files and
make new ones while allowing readers to read old posts and just throttling
innd. I didnt want to experiment with this cuz every minute of
downtime is too precious to spend on experimenting,so i'd prefere some
advice from more experienced ones..

Thanks for help!

Damir Jurica
GlobalNET system administrator
Re: rebuilding history files
#51744
Author: Jeffrey M. Vinocur
Date: Thu, 12 Apr 2001 01:22
27 lines
1986 bytes
In article <slrn9d921b.23r.djurica@damir.globalnet.hr>,
Damir Jurica <djurica@damir.globalnet.hr> wrote:
>	Sometimes when my news server (innd 2.3.0)  crashes because of power
>outages 

...you might want to get a UPS capable of shutting down the
machine cleanly when power is failing.


>i have to rebuild history files.During that rebuilding i always shut 
>down innd and let makehistory do its work. Surely customers at our provier arent
>too happy about that so i'd like to know if i can delete history files and
>make new ones while allowing readers to read old posts and just throttling
>innd.

I've never tried, but if you don't have any incoming articles,
you ought to be able to rebuild history and then move it into
place.  So I guess you could use 'readerswhenstopped' in inn.conf
to allow reading of articles received before the crash while
rebuilding, and then unthrottle and let the backlog subside.



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: rebuilding history files
#51795
Author: Simon Lyall
Date: Sat, 14 Apr 2001 11:03
20 lines
2019 bytes
Damir Jurica <djurica@damir.globalnet.hr> wrote:
> 	Sometimes when my news server (innd 2.3.0)  crashes because of power
> outages i have to rebuild history files.

I was having that problem with a server here. After a bad shutdown it
would loose all articles since the previous shutdown. One trick I found
was to restart the server a couple of times a day, at least that way
things don't look too ugly.

Rebuilding the database also took so long (over 24 hours) that it wasn't
worth doing. 

In the end I managed to get the hardware fairly stable (touch wood) so the
problem is less urgent. I still bounce the server twice a day however.

-- 
Simon Lyall.                |  Newsmaster  | Work: simon.lyall@ihug.co.nz
Senior Network/System Admin |              | Home: simon@darkmere.gen.nz
ihug, Auckland, NZ          | Asst Doorman | Web: http://www.darkmere.gen.nz
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