🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70972

Re: What are these directories, and why doesn't anything prune them?

#70972
From: Jeffrey M. Vinocur
Date: Sun, 27 Mar 2005 14:17
32 lines
2203 bytes
In article <d26diu$52o$1@allhats.xcski.com>,
Paul Tomblin <ptomblin+netnews@xcski.com> wrote:
>
>I've got a /var/lib/news/backoff directory (which I presume has something
>to do with exponential backoff) but it has files in it dating back to
>2002.  Also, /var/log/news/trackposts, which has a copy of every article
>posted on my system, but which also never gets pruned.

Clearly, you've set both "backupdb" and "readertrack" in inn.conf
(details in inn.conf(5)).  Did you intend to do so?


>Is there some option to prune those automatically?

The reader tracking is intended simply to write the files and
leave them for your purposes, so no.  The exponential backoff
database could logically be self-pruned, but I'm not aware of any
code to actually do so.


>Is there any problem with just, say, running a "find -ctime +30
>-print0 | xargs -0 rm " on both of those directories?

Shouldn't be for the readertrack stuff.  I haven't ever used
exponential backoff myself -- are the files one per IP address or
something like that?  If so, I'd imagine it's fine to delete them
as well.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <d26fa6$cud$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail
References: <d26diu$52o$1@allhats.xcski.com>

Show Full Headers
Complete Article Headers
Message-ID: <d26fa6$cud$1@puck.litech.org>
Subject: Re: What are these directories, and why doesn't anything prune them?
Date: Sun, 27 Mar 2005 14:17:42 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <d26diu$52o$1@allhats.xcski.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 32
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1111933062 13261 66.218.0.75 (27 Mar 2005 14:17:42
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sun, 27 Mar 2005 14:17:42 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)