Article View: news.software.nntp
Article #24454Re: examples of expire.ctl??
From: Department of Complaints, Insult...
Date: Wed, 17 Dec 1997 00:00
Date: Wed, 17 Dec 1997 00:00
88 lines
5574 bytes
5574 bytes
On Mon, 15 Dec 1997, Joseph K. Vossen wrote:
> I am trying to come up with some reasonable news article expiration
> parameters. To that end, would anyone be willing to share their
> expire.ctl file with me?
Well, you can generalize from expire.ctl files, maybe it would be
better to learn what your aim is, and then we can give tips on what to
tune/add to reach your goal.
Are you trying to keep your history file small? Then cut your
/remember/ time, but the tradeoff is that you won't remember that you've
seen old news, and you'll just waste bandwidth transferring it additional
times. A value of 14 has been the default for a while, while a lot of
people are using 7 or less now. Still, bandwidth is important where I am
now, so that our history file has more than ten million entries, yet there
is still enough old recycled news out there that I need to add a further 2
million entries just so as to be able to refuse those more than ten
thousand daily rejected articles.
Is disk space a concern for you? It isn't? Can I work for you?
Remember that the daily news volume I'm seeing has been averaging more
than 10 gigabytes daily, typically 12 or so. However, of this, the Big 8
and selected other hierarchies consume only some 300 megabytes daily. So
if you want to preserve disk space, you're going to want to identify the
groups that take up the most space, and shorten their expire times. The
biggest offenders are the warez groups, the binaries, and
news.lists.filters. The periodic misplaced binaries report that can be
unearthed in news.admin.net-abuse.usenet is excellent for identifying
hidden binaries groups.
Okay, you've added terabytes of disk space to keep your lusers happy
devouring your local bandwidth with their PR0N, rather than wasting your
connectivity to the Real World by browsing those sites which are trying to
flood the free pr0n groups of their vitality. A good investment. Our
flock of readers pulls far more from our reader machines in traffic than
the incoming and outgoing full feed traffic volume, so we keep binariez
groups longer than many other sites. The summary of readership will also
show what groups are popular, and you can placate your readers by tuning
the retention time on those groups so they don't get restless and head off
to other bandwidth suckers.
So you've got alt.binaries.pictures.erotica.* for a week, everything
else for two weeks, but your machine seems to be groaning, even though
there's free disk space? You also need to prune certain groups which just
get too many posts and drag down filesystem performance. For most people,
even a one-day retention time of control.cancel is too much, and they've
had to resort to wiping that directory every ten minutes or so. It helps
to identify other groups which get large numbers of posts -- the jobs
wastelands are prime candidates, and I identified a couple dozen others
last weekend, which, by simply cutting the number of articles in half,
knocked tens of ms off our article write times, and I added another day to
the more popular hierarchies for good measure. Nobody's complained. Yet.
Of course, not everybody has to worry about this, if you're running a
Real Filesystem such as SGI's XFS, which copes well with large numbers of
files in a directory (I didn't even notice a performance improvement some
time back when going from three days control.cancel down to one), or
alternative spool methods like CNFS or multiple articles in one file.
But really, how many people will appreciate a newsgroup with 80 000 unread
articles?
So the best things we can give you are pointers to particular groups
or hierarchies which, when tweaked, will make the biggest change for you.
Need space? Prune the warez groups and alt.binaries.pictures.leek.
Need to improve file write times? Prune control.cancel, misc.jobs*,
alt.binaries.sounds.mp3, and others.
Then you won't have problems keeping comp.* for a month (minus the
advocacy groups), and you can lengthen the time on the useful sex binariez
groupz (don't forget to run an aggressive spam filter, then you might
actually be able to find useful content in these groups) and your lusers
will gratefully suck down all your local bandwidth.
These are just starter ideas, when you know what your goal is, then
you can achieve that from specific figures people offer, but the thing is
to know what you need to tune. du and ls | wc help find troublespots.
Perusing on-line stats pages for hierarchy volume and numbers of posts
also gives useful food for thought. A nice place to start is the list of
links at http://nntprelay.maxwell.syr.edu/usenetlinks.htm
Barry Bouwsma
no reason to expire comp.sys.* in less than three months, is there?
Technical Details
Message-ID:
<Pine.BSF.3.96.971217181726.12207F-100000@coredump.int.tele.dk>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-mailReferences:
<34951731.2270@issl.atl.hp.com>Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.971217181726.12207F-100000@coredump.int.tele.dk> Subject: Re: examples of expire.ctl?? Date: Wed, 17 Dec 1997 00:00:00 +0000 From: "Department of Complaints, Insults, and Verbal Abuse" <abuse@tele.dk> References: <34951731.2270@issl.atl.hp.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.mbox.zip!not-for-mail X-Deja-AN: 299083819 Mime-Version: 1.0 Reply-To: ag786@yfn.ysu.edu X-Sender: abuse@coredump.int.tele.dk Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: Inodes'R'Us Newsgroups: news.software.nntp