🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #4535

Re: nnrpd v. history

#4535
From: Hugh Messenger
Date: Thu, 01 Feb 1996 00:00
35 lines
1964 bytes
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.

I kind of like having that old history around, as it means I'm almost
guarranteed to have enough space on ~news for expire do strut it's
stuff.  In other words, it's space that I'm going to need overnight, so
I think of the history.bak as being a placeholder.

What I don't like is having three or four invisible duplicates, which
Jerry's script takes care of nicely.

BTW, Jerry - sorry about posting your email without asking.  Brain fart.
Mea Culpa.

> 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.

That'd work.

> --Dave

   -- hugh

Technical Details
Message-ID: <31111B1C.41C6@garply.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> <310D5478.1CFB@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: <31111B1C.41C6@garply.com>
Subject: Re: nnrpd v. history
Date: Thu, 01 Feb 1996 00:00:00 +0000
From: Hugh Messenger <hippo@garply.com>
References: <3105AC38.167E@garply.com> <310D5478.1CFB@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: 137587439
Distribution: inet
Content-type: text/plain; charset=us-ascii
Organization: Net Results, Inc.
Mime-version: 1.0
Newsgroups: news.software.nntp
X-mailer: Mozilla 2.0b6a (X11; I; OSF1 V3.2 alpha)