🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32668

Re: HISTORY file is very BIG

#32668
From: 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)

Technical Details
Message-ID: <71jp5t$m89$1@flea.best.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
References: <199810310427.XAA20858@ns.axone.net> <Pine.LNX.4.00.9810311146570.5743-100000@coredump.int.tele.dk> <71ffc8$m32$1@flea.best.net> <71jlg4$ruc$1@magnum.mmm.com>

Show Full Headers
Complete Article Headers
Message-ID: <71jp5t$m89$1@flea.best.net>
Subject: Re: HISTORY file is very BIG
Date: Mon, 02 Nov 1998 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
References: <199810310427.XAA20858@ns.axone.net> <Pine.LNX.4.00.9810311146570.5743-100000@coredump.int.tele.dk> <71ffc8$m32$1@flea.best.net> <71jlg4$ruc$1@magnum.mmm.com>
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: 407481168
X-Trace: nntp1.ba.best.com 909993987 29746 dillon@206.184.139.131
Organization: BEST Internet Communications, Inc. www.best.com
Newsgroups: news.software.nntp