🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #4425

Re: nnrpd v. history

#4425
From: Hugh Messenger
Date: Tue, 30 Jan 1996 00:00
34 lines
1889 bytes
Dave Barr wrote:
> 
> In article <310D5478.1CFB@garply.com>,
> Hugh Messenger  <hippo@garply.com> wrote:
> >It all looks good in theory.
> 
> Except for the small fact that it's solving a completely different problem.
> 
> A reasonable fix is to add some code to nnrpd:
>         if (I have history file open)
>                 check periodically if (the inode has changed)
>                         close history

The above would be a fine fix if I felt like hacking on nnrpd ... which
I'm not about to do!

Jerry's fix, although not perfect, would seem to work around this
problem without actually touching any INN code.  OK, so you'll always
have two copies of the history file around, but "under control".  And as
it truncates that second history file before running expire, it has the
beneficial side effect of making sure that you always have enough space
on ~news for that second copy but aren't going to need space for three
of the little buggers.

Jerry has never given me bad advice, so I'm going to go with his
suggestion.

If you happen to patch up nnrpd, do let me know :)

> --Dave

   -- hugh

Technical Details
Message-ID: <310E7BC5.2781@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> <4eh9gg$2bdr@sheraton.asianconnect.com> <310D5478.1CFB@garply.com> <4elgf5$60@dodgson.math.psu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <310E7BC5.2781@garply.com>
Subject: Re: nnrpd v. history
Date: Tue, 30 Jan 1996 00:00:00 +0000
From: Hugh Messenger <hippo@garply.com>
References: <3105AC38.167E@garply.com> <4eh9gg$2bdr@sheraton.asianconnect.com> <310D5478.1CFB@garply.com> <4elgf5$60@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: 137249941
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)