Article View: news.software.nntp
Article #22443Re: How to expire fast the junk group?
From: Dougal Campbell
Date: Thu, 16 Oct 1997 00:00
Date: Thu, 16 Oct 1997 00:00
45 lines
2254 bytes
2254 bytes
Charlie Bibas <mylog@dorsai.org> wrote:
> Hi all,
> I'm using inn1.5/Linux. My disk fills out quickly. How can I get the
> junk group to expire or limit the disk space it consumes?
Recompile INN with WANT_TRASH = DONT. After all, how often do you
actually look at or process anything in the junk directory?
If you would rather not do that, you might try expiring more than once
a day. Use soemthing like this in your crontab:
## Run an expire at noon, but don't rotate logs or renumber
00 12 * * * /usr/lib/news/bin/news.daily delayrm norotate norenumber
And something like this in your expre.ctl:
junk:A:0:0.5:0.5
You might want a similar entry for control (and control.cancel if
you've broken it down).
Also, if you're running NOV, you might want to do something like:
ln -fs /dev/null /var/spool/news/over.view/control/.overview
You could do the same for control/cancel and junk, and maybe some
groups like alt.binaries.*. This will save you some wasted space on
your overview spool.
Does anyone know if this last trick causes any problems or performance
hits? I did it a while back on my server, and haven't encountered any
problems.
--
Dougal Campbell, Systems Manager, ADViCOM dougal@advicom.net
http://www.advicom.net/ http://advicom.net/~dougal/
See my homepage for anti-spam information!
QUOTE OF THE MOMENT:
"The human brain is like an enormous fish -- it is flat and slimy and
has gills through which it can see."
-- Monty Python
Technical Details
Message-ID:
<6257j9$s9l$1@polo.advicom.net>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:
<34451055.DF7F3C5B@dorsai.org>Show Full Headers
Complete Article Headers
Message-ID: <6257j9$s9l$1@polo.advicom.net> Subject: Re: How to expire fast the junk group? Date: Thu, 16 Oct 1997 00:00:00 +0000 From: Dougal Campbell <dougal@vespucci.advicom.net> References: <34451055.DF7F3C5B@dorsai.org> 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: 280988738 Distribution: world X-Complaints-To: usenet@news.advicom.net X-Trace: polo.advicom.net 877011370 28981 (None) 199.170.120.42 Organization: ADViCOM -- Advanced Internet Communications Newsgroups: news.software.nntp