🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by bosco Fri, 15 May 1998 00:00
Huge History file
#28176
Author: bosco
Date: Fri, 15 May 1998 00:00
10 lines
1033 bytes
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. Is there anyway to trim the size of this
history file?

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading

Re: Huge History file
#28167
Author: Timothy J. Miller
Date: Fri, 15 May 1998 00:00
24 lines
1361 bytes
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.

-- 
Cerebus <tmill06@ibm.net>

Re: Huge History file
#28168
Author: Dale Ghent
Date: Fri, 15 May 1998 00:00
21 lines
1342 bytes
bosco@ipoline.com wrote:
> 
> 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. Is there anyway to trim the size of this
> history file?

The only ways to cut down on your history size is to either dont carry
as many groups, or set the remember to a lower number in expire.ctl
(assuming you're using INN).

		-Dale G.

-- 
Dale Ghent                        daleg @ digex.net
NetworkNews Administrator             DIGEX, Inc.
http://www.digex.net                Beltsville, MD
                    I speak for myself

Re: Huge History file
#28189
Author: Michael Hucka
Date: Fri, 15 May 1998 00:00
16 lines
1075 bytes
>>>>> On 15 May 1998, bosco@ipoline.com wrote:

  bosco> I am getting a huge history file, with over 100MB in size, which
  bosco> seems to waste lots of resources thus cause slowness to the
  bosco> system. Doing a fixhist just can cut down around 10MB. Is there
  bosco> anyway to trim the size of this history file?

Please consult the INN FAQ.

ftp://ftp.xlink.net/pub/news/docs/

-- 
Mike Hucka   --   hucka@umich.edu   --   PhD student, UNIX admin & programmer

Re: Huge History file
#28208
Author: brian moore
Date: Sun, 17 May 1998 00:00
42 lines
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 

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