🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by David Swanger Fri, 26 Mar 1999 00:00
fastfs and news.daily
#36203
Author: David Swanger
Date: Fri, 26 Mar 1999 00:00
43 lines
1885 bytes
I recently upgraded our usenet server from INN 1.5.1
to INN 2.2.  It hasn't been up long enough for me to
see how long news.daily really takes because I
newfs'd the spool disk early this week when I installed
the new software and most articles haven't been around 
long enough to be expired yet.  

I wondered if the following news cron entry would noticeably 
speed up news.daily:


40 23 * * *  /usr/local/news/bin/news.daily.fast

Where news.daily.fast contained the commands:

---
#!/bin/sh
#
/usr/local//bin/fastfs /var/news/spool/articles fast; 
/usr/local/news/bin/news.daily delayrm expireover lowmark
/usrlocal/bin/fastfs /var/news/spool/articles slow
---

Last night news.daily took 50 minutes, at least the date of 
the report mailed to root was 50 minutes later than when the 
job started and not many articles were expired:

    Article lines processed  1678689
    Articles retained        1552249
    Entries expired           126440
    Files unlinked            178930
    Old entries dropped            0
    Old entries retained      825615


--
David Swanger
University Computing
Auburn University, AL
swangdb@mail.auburn.edu

Re: fastfs and news.daily
#36201
Author: Mark Hittinger
Date: Fri, 26 Mar 1999 00:00
20 lines
1364 bytes
swangdb@mail.auburn.edu (David Swanger) writes:
>/usr/local//bin/fastfs /var/news/spool/articles fast; 
>/usr/local/news/bin/news.daily delayrm expireover lowmark
>/usrlocal/bin/fastfs /var/news/spool/articles slow

We use fastfs here inside expirerm so that only the fastrm stage runs
with the news spool async.  This is a big win, however, if your server
crashes in the middle of this you can loose the entire spool.  Since
we have several load balanced servers with their own spools we can 
afford to loose one because of this risk.  YMMV.  The benefit of async
during 'expire' and 'expireover' does not justify the crash risk.  On
our CNFS based servers we don't use fastfs BTW.

Regards,

Mark Hittinger
Mindspring/Netcom/Dallas
bugs@freebsd.netcom.com

Re: fastfs and news.daily
#36212
Author: Brad Knowles
Date: Sat, 27 Mar 1999 00:00
17 lines
1392 bytes
In article <7dh1i5$c76@dfw-ixnews7.ix.netcom.com>, bugs@freebsd.netcom.com
(Mark Hittinger) wrote:

> We use fastfs here inside expirerm so that only the fastrm stage runs
> with the news spool async.

    Is this on a FreeBSD server?  You're not running with "soft updates"? 
Is there any particular reason why not?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Are you looking for a news feed from a site in the Freenix Top 200?
If so, contact me via private e-mail for details.

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