🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #4520

Re: nnrpd v. history

#4520
From: Joe Greco
Date: Thu, 01 Feb 1996 00:00
36 lines
2137 bytes
In news.software.nntp article <4ep7lv$dml@dodgson.math.psu.edu>, barr@math.psu.edu (Dave Barr) wrote:
:In article <4eoeeq$c99@olivea.ATC.Olivetti.Com>,
:Jerry Aguirre <jerry@strobe.ATC.Olivetti.Com> wrote:
:>Dave, why don't you think that my method solves the problem?
:
:Hm, it looks like I misread it the first time around.  Yes, if
:you truncate the old history (from the night before) before the
:next expire run that's probably the best method.  However even
:having two copies of the history file around for long periods of
:time is a waste if it doesn't have to.  You could modify this
:technique by periodically checking with something like lsof
:on the history.bak file and truncate the file if no process has
:it open.

But WHY?

Think about it.

In order to rebuild history, you need adequate space to maintain two full
copies of the history file.

Too often I have seen sites where there is "free space" on newslib but not
enough to build a second history.

If you retain the previous history file and zero it right before expire, you
are virtually guaranteed to have space (or run out in a much more obvious
way) because when you do a "df" and you see newslib is always 95% full
you'll get worried.

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/546-7968

Technical Details
Message-ID: <4er9hv$97n@brasil.moneng.mei.com>
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: <3105AC38.167E@garply.com> <4elgf5$60@dodgson.math.psu.edu> <4eoeeq$c99@olivea.ATC.Olivetti.Com> <4ep7lv$dml@dodgson.math.psu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4er9hv$97n@brasil.moneng.mei.com>
Subject: Re: nnrpd v. history
Date: Thu, 01 Feb 1996 00:00:00 +0000
From: jgreco@brasil.moneng.mei.com (Joe Greco)
References: <3105AC38.167E@garply.com> <4elgf5$60@dodgson.math.psu.edu> <4eoeeq$c99@olivea.ATC.Olivetti.Com> <4ep7lv$dml@dodgson.math.psu.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: 137529740
Distribution: inet
Organization: Marquette Electronics, Inc. - Milwaukee, WI.
Newsgroups: news.software.nntp