🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Michel-Guy Paiement Sat, 31 Oct 1998 00:00
HISTORY file is very BIG
#32648
Author: Michel-Guy Paiement
Date: Sat, 31 Oct 1998 00:00
13 lines
1077 bytes
[ Note: This question was sent to inn-questions@pilhuhn.de and is posted ]
[       here, so that someone will see and answer it. Please email your  ]
[       answer to the original author in addition to posting it.         ]

Hello,

My History file is more than 40Mbytes. Is there a way to decrease his size?

Thanks 

Michel Guy Paiement

Re: HISTORY file is very BIG
#32646
Author: Department of Usenet Abuse
Date: Sat, 31 Oct 1998 00:00
8 lines
931 bytes
On 31 Oct 1998, Michel-Guy Paiement wrote:

> My History file is more than 40Mbytes. Is there a way to decrease his size?

Yes...


Re: HISTORY file is very BIG
#32651
Author: Matt Dillon
Date: Sat, 31 Oct 1998 00:00
18 lines
1184 bytes
:In article <Pine.LNX.4.00.9810311146570.5743-100000@coredump.int.tele.dk>,
:Department of Usenet Abuse  <abuse@vszbr.cz> wrote:
:>On 31 Oct 1998, Michel-Guy Paiement wrote:
:>
:>> My History file is more than 40Mbytes. Is there a way to decrease his size?
:>
:>Yes...

    Pray!

						-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: HISTORY file is very BIG
#32662
Author: Joe Greco
Date: Mon, 02 Nov 1998 00:00
27 lines
1523 bytes
In news.software.nntp article <199810310427.XAA20858@ns.axone.net>, "Michel-Guy Paiement" <paiement.mg@axone.net> wrote:
:My History file is more than 40Mbytes. Is there a way to decrease his size?

Store less news.  Receive fewer newsgroups.

You're pretty lucky...

From an INN system,

> ls -l /usr/local/news/his*
-rw-rw-r--  1 news  news  706127492 Nov  2 14:12 /usr/local/news/history
-rw-rw-r--  1 news  news        124 Nov  2 14:12 /usr/local/news/history.dir
-rw-rw-r--  1 news  news   47056052 Nov  2 14:12 /usr/local/news/history.pag

From a Diablo system,

> ls -l /news/dh*
-rw-r--r--  1 news  wheel  315847696 Nov  2 15:15 /news/dhistory
-rw-r--r--  1 news  wheel  381836304 Nov  2 02:31 /news/dhistory.bak

Boy, I _wish_ my history was only 40MB.  I'd kill for that.

:-)

... JG

Re: HISTORY file is very BIG
#32663
Author: Department of Usenet Abuse
Date: Mon, 02 Nov 1998 00:00
30 lines
2158 bytes
On 2 Nov 1998, John Payne wrote:

> >    History files typically range from 150MB to 500MB and can get even larger.
> 
> 500Mb?  500Mb?  You lucky, lucky, bastards.  What I wouldn't give for a 500Mb
> history file...

Hey, sure, no problem.  Just watch your mailbox.  You're welcome.


> (Sodding 2Gb limits... I can't cope I tells ya, I just can't cope)
> ... and no Barry, this isn't the start of a DSW ;-)

Hey, if you would just use a Real OS[tm] with proper 64-bit lseeks,
rather than your toy Unix-clone, then you too wouldn't blink twice
when hitting the three-and-a-half gig mark.

(And that's with and old v6.0-based dbz, rather than the bloated
history included with 2.x that artificially inflates the size of your
history file compared with the average 77-octet line we have, I calls
that cheating in the highest degree, I does)


However, instead of OS advocacy, we should probably discuss the
advantages of different commonly-available compression methods,
and specialized commands like �: > history�, or the ultimate saviours
of wasted space, �rm� or �newfs�.


Re: HISTORY file is very BIG
#32664
Author: John Payne
Date: Mon, 02 Nov 1998 00:00
16 lines
1505 bytes
On 2 Nov 1998 00:06:21 -0800, Matt Dillon <dillon@best.net> wrote:
>    History files typically range from 150MB to 500MB and can get even larger.

500Mb?  500Mb?  You lucky, lucky, bastards.  What I wouldn't give for a 500Mb
history file...

(Sodding 2Gb limits... I can't cope I tells ya, I just can't cope)

... and no Barry, this isn't the start of a DSW ;-)

-- 
John Payne      http://www.sackheads.org/jpayne    john@sackheads.org
       Sarcasm by request                        Fax: +44 870 0547954
My mail provider doesn't welcome UBE -  http://www.sackheads.org/uce/

Re: HISTORY file is very BIG
#32667
Author: Matt Dillon
Date: Mon, 02 Nov 1998 00:00
52 lines
3042 bytes
:In article <slrn73rreu.u58.john+usenet@haybaler.sackheads.org>,
:John Payne <john+usenet@sackheads.org> wrote:
:>On 2 Nov 1998 00:06:21 -0800, Matt Dillon <dillon@best.net> wrote:
:>>    History files typically range from 150MB to 500MB and can get even larger.
:>
:>500Mb?  500Mb?  You lucky, lucky, bastards.  What I wouldn't give for a 500Mb
:>history file...
:>
:>(Sodding 2Gb limits... I can't cope I tells ya, I just can't cope)
:>
:>... and no Barry, this isn't the start of a DSW ;-)
:>
:>-- 
:>John Payne      http://www.sackheads.org/jpayne    john@sackheads.org
:>       Sarcasm by request                        Fax: +44 870 0547954

    'Typical' :-)  If you are running a large spool it could get much larger.
    This is for INN, of course.  INN's history database records are huge.

    --

    Diablo's dhistory database is much more compact and will average 
    200-350 MBytes for a full feed w/14-day retention (28 bytes per record,
    800,000 * 14 * 28 = 314MB).  The dhistory file for my Diablo spooler/reader
    box with its 40GB spool and 14 day retention for most groups runs 
    220-250 MBytes or so.

    -rw-r--r--  1 news  news  223234064 Nov  2 10:10 dhistory
    -rw-r--r--  1 news  news  245067792 Nov  2 02:28 dhistory.bak

    /dev/ccd1d    9397795  4832184  3813788    56%    /src/news/spool/group
    /dev/ccd2d   39882628 34792890  1899128    95%    /src/news/spool/news

    FreeBSD has an 8 TB filesize limit, but Diablo stores link offsets in
    32 bit ints in the history file so it's still limited to 2GB.  I suppose I 
    could make it an unsigned int to up the limit to 4GB, and I could assume
    a 4-byte alignment and up the limit to 16GB, but nobody's complained about
    it so far and I don't want to throw another wrench into the works just yet.

    I very carefully designed Diablo's history record to be as small as
    possible.  It takes about half the space that INN's history file takes
    for the same number of records and isn't vulnerable to message-id-size
    and cross-posting attacks.

					-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: HISTORY file is very BIG
#32668
Author: Matt Dillon
Date: Mon, 02 Nov 1998 00:00
75 lines
4022 bytes
:In article <71jlg4$ruc$1@magnum.mmm.com>,
:Robert B. Kasten <bkasten3@mmm.com> wrote:
:>Matt Dillon <dillon@best.net> wrote:
:>> :In article <Pine.LNX.4.00.9810311146570.5743-100000@coredump.int.tele.dk>,
:>> :Department of Usenet Abuse  <abuse@vszbr.cz> wrote:
:>> :>On 31 Oct 1998, Michel-Guy Paiement wrote:
:>> :>
:>> :>> My History file is more than 40Mbytes. Is there a way to decrease his size?
:>> :>
:>> :>Yes...
:>>     Pray!
:>> 						-Matt
:>> -- 
:>>     Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
:>
:>Not asking dumb questions that elicit smart assed responses is certainly 
:>one way to decrease your (and my) history file size. That might not quite
:>be enough for your needs however. One other way would be to decrease your 
:>article retention times in expire.ctl.
:>
:>
:>
:>Opinions expressed herein are my own and may not represent those of my employer.
:>

    ok, ok, we've blasted the poor guy enough I think.

    40MB is pretty small for a history file, which is why everyone is making
    smartassed remarks.

    History files typically range from 150MB to 500MB and can get even larger.

    The size of the history file is directly dependant on three factors:

	* The size of your incoming feed (articles/day).  A full feed is
	  on the order of 800,000 articles a day.

	* The article retention in your spool.  This depends on how big your
	  spool is.

	* The nominal article retention specified for the history file,
	  typically called the 'remember' time.

    Each incoming article's message-id (and other information) must be 
    entered into the history file.  It stays in the history file until
    the article has been removed from the spool AND the message-id has been
    held in the history file for more then the 'remember' time... the minimum
    amount of time the message-id must remain in the history file in order
    for the news system to detect duplicate articles.

    Each history file entry is typically around 60 bytes.  So if you are
    taking a full feed and retaining history entries for 14 days and your
    spool is able to hold articles for about the same period of time, your
    history file will stabilize at around 672 MBytes.

    You need to calculate the above parameters to determine how big your
    history file will grow and adjust them as appropriate.  Since 
    (the original author) thought 40MB was pretty big, there is also a good
    chance that the disk partition you are storing the history file in is
    not big enough.  oops.  That could be a real problem.  I usually reserve
    at least 2GB of space for that partition.  Usually more.  If you are taking
    a near-full feed you cannot usually get away with a history file any 
    smaller then 200MB or so.  Note that removing binaries and 'large articles'
    from a full feed will not reduce the size of the history file much, since
    the history file is based on the number of articles rather then the size of
    the articles.

						-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: HISTORY file is very BIG
#32669
Author: Robert B. Kasten
Date: Mon, 02 Nov 1998 00:00
24 lines
1490 bytes
Matt Dillon <dillon@best.net> wrote:
> :In article <Pine.LNX.4.00.9810311146570.5743-100000@coredump.int.tele.dk>,
> :Department of Usenet Abuse  <abuse@vszbr.cz> wrote:
> :>On 31 Oct 1998, Michel-Guy Paiement wrote:
> :>
> :>> My History file is more than 40Mbytes. Is there a way to decrease his size?
> :>
> :>Yes...
>     Pray!
> 						-Matt
> -- 
>     Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet

Not asking dumb questions that elicit smart assed responses is certainly 
one way to decrease your (and my) history file size. That might not quite
be enough for your needs however. One other way would be to decrease your 
article retention times in expire.ctl.



Opinions expressed herein are my own and may not represent those of my employer.


Re: HISTORY file is very BIG
#32698
Author: Sami Koskinen
Date: Wed, 04 Nov 1998 00:00
11 lines
930 bytes
On 2 Nov 1998 15:19:37 -0600, Joe Greco <jgreco@ns.sol.net> wrote:
>Boy, I _wish_ my history was only 40MB.  I'd kill for that.

	Shouldn't that be quite easy? You don't even need to
	kill any people for getting a 40MB history. *grin*

-- 
Sami Koskinen	# HUT Computing Centre	# Maximum sugar. No taste.


Re: HISTORY file is very BIG
#32702
Author: Maurizio Codogno
Date: Wed, 04 Nov 1998 00:00
18 lines
1197 bytes
In article <slrn740dri.gg9.tossu@not.runners.fi>,
Sami Koskinen <tossu@not.runners.fi> wrote:
% On 2 Nov 1998 15:19:37 -0600, Joe Greco <jgreco@ns.sol.net> wrote:
% >Boy, I _wish_ my history was only 40MB.  I'd kill for that.
% 
% 	Shouldn't that be quite easy? You don't even need to
% 	kill any people for getting a 40MB history. *grin*

Look at me, for example:

(B) 14:31 mau 310> ll ~news/etc/history
-rw-rw-r--   1 news     news     15919403 Nov  4 14:31 /news/etc/history

And I assure you that I did not kill anybody :-)

.mau.

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