🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70971

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

#70971
From: Paul Tomblin
Date: Sun, 27 Mar 2005 15:16
37 lines
2886 bytes
In a previous article, jeff@litech.org (Jeffrey M. Vinocur) said:
>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?

Actually, there is no "backupdb" setting at all in my inn.conf, nor is it
mentioned in "man inn.conf".  I did intend the readertrack, because I
was trying to see which of the dozens of nnrpd logins I handed out are
still in use.

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

Not obviously.  The files are all something like
/var/lib/news/backoff/088201/113/203
and seem to contain a time_t, then two small integers.

Hey, wait a second - none of the files in /var/lib/news/backoff is newer
than 90 days old.  I guess whatever got configured to start creating them
stopped.

-- 
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
Is it so difficult to master your bloody pride and admit that yes, a bunch
of hackers turned out a better suite of utilities than your teams of
engineers ever could?  -- Robert Uhl
Technical Details
Message-ID: <d26io8$713$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.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!news.he.net!news.kjsl.com!xcski.com!not-for-mail
References: <d26diu$52o$1@allhats.xcski.com> <d26fa6$cud$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <d26io8$713$1@allhats.xcski.com>
Subject: Re: What are these directories, and why doesn't anything prune them?
Date: Sun, 27 Mar 2005 15:16:24 +0000
From: ptomblin+netnews@xcski.com (Paul Tomblin)
References: <d26diu$52o$1@allhats.xcski.com> <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.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!news.he.net!news.kjsl.com!xcski.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Tomblin Computer Consulting, Rochester, New York and Ottawa,
 Ontario
Lines: 37
NNTP-Posting-Host: allhats.xcski.com
X-Trace: allhats.xcski.com 1111936584 7203 192.168.1.1 (27 Mar 2005 15:16:24
 GMT)
X-Complaints-To: abuse@xcski.com
NNTP-Posting-Date: Sun, 27 Mar 2005 15:16:24 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: ptomblin@xcski.com (Paul Tomblin)