Article View: news.software.nntp
Article #16839Cleaning out news spool directories after changing expire.ctl
From: Craig Dewick
Date: Wed, 09 Apr 1997 00:00
Date: Wed, 09 Apr 1997 00:00
46 lines
2679 bytes
2679 bytes
The news spool on my server (running SunOS 5.5.1 and Inn 1.5.1) keeps
filling up, and after manually looking through some of the directories in
the news spool, I've found something strange.
I've recently done some tuning of the expire.ctl file (inn 1.5.1), and I
found that after the completion of the first run of expire following my
changes to expire.ctl, lots of articles have been left behind that should
have been deleted because they are very definitely too old.
As an example, in one directory for a newsgroup, I changed the default
expire setting from 10 to 4 days, and I noticed that there were articles
that arrived during December, January, Febraury and March still in the
directory. They weren't all in one contiguous group of article numbers
either.
My presumption is that these articles are somehow being removed from the
history file, and then they exist in limbo because expire doesn't know they
still exist (because they're not in the history file), so they won't get
deleted. Does this sound like a plausible theory? How could they get removed
from the history file and not be deleted though? Something wrong with expire
in a previous release of Inn prior to 1.5.1?
I don't think my tuning of expire.ctl has necessarily resulted in all these
old articles getting left behind, since some of them date back to last year
and early this year. Something else must have happened along the way.
So, is there a way with something in the inn package to go through the
entire news spool and purge all articles that are really, really old and
appear to be getting left behind and ignored? My news server only takes
about 210 newsgroups, but I don't feel like manually going through every
directory looking for very old articles which should have been removed when
they expired. 8-)
Any suggestions?
Regards,
Craig.
--
Craig Dewick. Send email to 'cdewick@lios.apana.org.au'
Point a web browser at 'http://lios.apana.org.au/~cdewick/sun_ark.html' to
access my collection of Sun information and links to other places.
Technical Details
Message-ID:
<5ifodh$1m0$1@lios.apana.org.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.apps.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <5ifodh$1m0$1@lios.apana.org.au> Subject: Cleaning out news spool directories after changing expire.ctl Date: Wed, 09 Apr 1997 00:00:00 +0000 From: cdewick@lios.apana.org.au (Craig Dewick) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.apps.mbox.zip!not-for-mail X-Deja-AN: 234650030 Organization: Lios - Children of the Light Newsgroups: news.software.nntp,comp.sys.sun.apps