🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17938

Re: What happen if news.daily is killed

#17938
From: Todd D. Taft
Date: Fri, 23 May 1997 00:00
28 lines
1948 bytes
In article <5ltj03$bqo$2@power42t.hkbu.edu.hk>,
Pui Ming WONG <s11976@net2.hkbu.edu.hk> wrote:
>I found that i shouldn't have submitted my news.daily for
>some reason. So i'll like to kill it before it finishes.
>It's still doing the expiration. 
>I understand news.daily is quite complex and does a lot of
>bookeeping of file indexes like history and active files.
>If i kill it prematurely, will it recover itself next time
>and not corrupt the relevant files ?

I would strongly recommend against aborting news.daily during its run.
While there are a few "safe periods", during its execution, when
aborting wouldn't cause too much harm, most of the time the script
runs, an early exit will leave things in an inconsistent state.
(e.g. The server will have marked articles as removed, because their
database entries were removed even though the actual article file
remains, so the actual article file is never expired from your news
spool.) While most of these problems won't cause a complete breakdown
of news, they can degrade the performance of your news system.  (Of
course, there are tools to recover from these problems; but, why
create a problem intentionally?)
-- 
Todd D. Taft                              taft@cs.unc.edu
WWW: http://www.cs.unc.edu/~taft/         todd_taft@unc.edu
U.N.C. Department of Computer Science Facilities Staff

Technical Details
Message-ID: <5m513d$qin@lewis.cs.unc.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
References: <5ltj03$bqo$2@power42t.hkbu.edu.hk>

Show Full Headers
Complete Article Headers
Message-ID: <5m513d$qin@lewis.cs.unc.edu>
Subject: Re: What happen if news.daily is killed
Date: Fri, 23 May 1997 00:00:00 +0000
From: taft@cs.unc.edu (Todd D. Taft)
References: <5ltj03$bqo$2@power42t.hkbu.edu.hk>
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: 243440527
Organization: The University of North Carolina at Chapel Hill
Newsgroups: news.software.nntp