Article View: news.software.nntp
Article #28208Re: Huge History file
From: brian moore
Date: Sun, 17 May 1998 00:00
Date: Sun, 17 May 1998 00:00
42 lines
1948 bytes
1948 bytes
On 15 May 1998 13:06:38 -0500,
Timothy J. Miller <tmill06@ibm.net> wrote:
> bosco@ipoline.com writes:
>
> > I am getting a huge history file, with over 100MB in size, which seems to
> > waste lots of resources thus cause slowness to the system. Doing a fixhist
> > just can cut down around 10MB.
>
> Consider yourself lucky:
>
> # ls -l /var/run/news/h*
> -rw-rw-r-- 1 news news 345825199 May 15 18:05 /var/run/news/history
> -rw-rw-r-- 1 news news 238 May 15 18:04 /var/run/news/history.dir
> -rw-rw-r-- 1 news news 51050732 May 15 18:03 /var/run/news/history.pag
>
> > Is there anyway to trim the size of this
> > history file?
>
> Lower expire times, reject junk, cut your remember time, drop
> some groups.
Or cheat:
sub filter_messageid {
my ($messageid) = @_;
$rval = '';
$rval = 'No' if ($messageid =~ /headhunter\.net>?/i);
$rval = 'No' if ($messageid =~ /^<cancel\./);
$rval = 'No' if ($messageid =~ /\@dice\.com>?/i);
$rval;
}
Suddenly hundreds of thousands of articles a day never make it to my
history.
Really should add /none(\d+).yet>/ to that list.
--
Brian Moore Kill A Spammer For Jesus
Sysadmin, C/Perl Hacker, Usenet Vandal
Technical Details
Message-ID:
<slrn6luggk.gvd.bem@thorin.cmc.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:
<6jhpkt$b7l$1@nnrp1.dejanews.com> <873eeb2ytt.fsf@ibm.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn6luggk.gvd.bem@thorin.cmc.net> Subject: Re: Huge History file Date: Sun, 17 May 1998 00:00:00 +0000 From: bem@news.cmc.net (brian moore) References: <6jhpkt$b7l$1@nnrp1.dejanews.com> <873eeb2ytt.fsf@ibm.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-mail X-Deja-AN: 354095625 X-Complaints-To: abuse@cmc.net X-Trace: news.cmc.net 895435280 6522 (None) 206.102.31.253 Organization: Chambers Multimedia Connection Newsgroups: news.software.nntp