🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9201

Re: Old articles not expiring...

#9201
From: Gary Heston
Date: Wed, 10 Jul 1996 00:00
35 lines
1788 bytes
In article <4rujir$i13@news1.radix.net>,
David DeHanas <ddehanas@radix.net> wrote:

>I�ve just inherited a news server, and I�ve come across a problem 
>that�s not mentioned in the docs or the FAQ.  I have 300,000+ articles that 
>are well over a year old, not wanted, and are not in my history file.

Well, that solution is in the C News docs...

>- What are the procedures for gracefully purging these articles from my server 
>   (besides : /var/spool/news/find . -name \* -mtime +365 -exec rm {} \;)

>any suggestions are appreciated,

If you're running C News, you can run mkhistory and rebuild the history
database so that all those articles are included.

However, I'd run the find command (with +30 instead of +365; you don't
need anything more than a month old anyway) for the simple reason that
it'll be 15 or 20 times faster; you also won't need to stop news 
processing that way (you would while rebuilding history).

I'm sure INN has a similar command if you really want to rebuild, but I
don't see any point to it.

Gary


-- 
Gary Heston  gheston@nyx10.cs.du.edu gary@cdthq.com uunet!sci34hub!cdthq!gary
Disclaimer, datclaimer...
  How does Superman get a haircut???

Technical Details
Message-ID: <4s0h8k$o8f@nyx10.cs.du.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: <4rujir$i13@news1.radix.net>

Show Full Headers
Complete Article Headers
Message-ID: <4s0h8k$o8f@nyx10.cs.du.edu>
Subject: Re: Old articles not expiring...
Date: Wed, 10 Jul 1996 00:00:00 +0000
From: gheston@nyx10.cs.du.edu (Gary Heston)
References: <4rujir$i13@news1.radix.net>
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: 167589603
Distribution: inet
Organization: /usr/lib/news/organi[sz]ation
Newsgroups: news.software.nntp