🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #4454

Re: nnrpd v. history

#4454
From: Dave Barr
Date: Tue, 30 Jan 1996 00:00
34 lines
1626 bytes
[removing bogus Distribution: inet]
In article <310D5478.1CFB@garply.com>,
Hugh Messenger  <hippo@garply.com> wrote:
>Deeran Peethamparam wrote:
>> In article <3105AC38.167E@garply.com>,
>>    Hugh Messenger <hippo@garply.com> wrote:
>> 
>> >Config:  Alpha, OSF 3.2, INN 1.4
>> >
>> >I'm having problems with /usr/local/news growing insanely large,
>> >because of some "persistant" nnrpd's running for days, keeping the
>> >"old" history files open.

>> Have a cron job which kills old nnrpd's once every morning.  Not the most
>> optimal solution, but....  *sigh*
>
>Jerry Aguire mailed me the following scheme, which I'll be experimenting
>with "real soon now".  I'll let you know how I get on.
>
[deleted]
>
>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

--Dave

Technical Details
Message-ID: <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
References: <3105AC38.167E@garply.com> <4eh9gg$2bdr@sheraton.asianconnect.com> <310D5478.1CFB@garply.com>

Show Full Headers
Complete Article Headers
Message-ID: <4elgf5$60@dodgson.math.psu.edu>
Subject: Re: nnrpd v. history
Date: Tue, 30 Jan 1996 00:00:00 +0000
From: barr@math.psu.edu (Dave Barr)
References: <3105AC38.167E@garply.com> <4eh9gg$2bdr@sheraton.asianconnect.com> <310D5478.1CFB@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
X-Deja-AN: 137199743
Organization: Mathematics Department, The Pennsylvania State University
Newsgroups: news.software.nntp