🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Chris Wed, 31 Dec 1997 00:00
news.daily question
#24698
Author: Chris
Date: Wed, 31 Dec 1997 00:00
20 lines
1114 bytes

Hello INN friends,

At our site we run news.daily twice per day.  We do this
in order to clear out the control directory more often.
Any problems with doing this? Is it a waste?

My main question is about why news.daily takes so long.
It looks like to me we are doing fastrm on our control.cancel
directory and this is taking like two hours.  Is this absurd or
is this normal.  We carry about 7 days of news.  The whole
news.daily takes about 3-4 hours.  Just let me know if I'm normal
or not please :)  Is there a faster script than fastrm?

Chris



Re: news.daily question
#24702
Author: Timothy Miller
Date: Wed, 31 Dec 1997 00:00
18 lines
1023 bytes
Dale Ghent <daleg@digex.net> writes:

> Yeah, running news.daily for just control.cancel is a waste. You can do
> it much more simply and effectivly with running 
> 
> rm -f /path/to/spool/control/cancel/*
> 
> every so often out of cron rather than a news.daily.

	You're better off doing:

mv /var/spool/news/control/cancel /var/spool/news/control/cancel.old && rm -rf /var/spool/news/control/cancel.old  

-- 
Cerebus <tmill06@ibm.net>

Re: news.daily question
#24720
Author: David Carmean
Date: Wed, 31 Dec 1997 00:00
22 lines
1427 bytes
Timothy Miller <tmill06@ibm.net> wrote:

: 	You're better off doing:

: mv /var/spool/news/control/cancel /var/spool/news/control/cancel.old && rm -rf /var/spool/news/control/cancel.old  

Because (for people scratching their heads; AFAIR) you then get to 
start again with a fresh directory structure, so you won't have to 
waste the time to search through the old large one just to find that 
the file you want to write doesn't exist anyway.


-- 
David Carmean                                           <dlc@avtel.net>
Avtel Communications, Santa Barbara, CA			+1-805-730-7740
  Opinions herein are those of the author only, unless otherwise noted

		"Karma Police, arrest this man!"
						--Radiohead

Re: news.daily question
#24721
Author: Dale Ghent
Date: Wed, 31 Dec 1997 00:00
32 lines
1686 bytes
Chris wrote:
> 
> Hello INN friends,
> 
> At our site we run news.daily twice per day.  We do this
> in order to clear out the control directory more often.
> Any problems with doing this? Is it a waste?
> 
> My main question is about why news.daily takes so long.
> It looks like to me we are doing fastrm on our control.cancel
> directory and this is taking like two hours.  Is this absurd or
> is this normal.  We carry about 7 days of news.  The whole
> news.daily takes about 3-4 hours.  Just let me know if I'm normal
> or not please :)  Is there a faster script than fastrm?

Yeah, running news.daily for just control.cancel is a waste. You can do
it much more simply and effectivly with running 

rm -f /path/to/spool/control/cancel/*

every so often out of cron rather than a news.daily.

			-Dale G.

-- 
Dale Ghent                        daleg @ digex.net
NetworkNews Administrator             DIGEX, Inc.
http://www.digex.net                Beltsville, MD
                    I speak for myself

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