🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by David DeHanas Tue, 09 Jul 1996 00:00
Old articles not expiring...
#9155
Author: David DeHanas
Date: Tue, 09 Jul 1996 00:00
18 lines
1079 bytes
Hello All,

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.

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

-Dave DeHanas
ddehanas@storm.hq.nasa.gov
ddehanas@radix.net


Re: Old articles not expiring...
#9201
Author: 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???

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads