🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17637

Re: HISTORY must be so BIG?

#17637
From: Barry Boursyma
Date: Thu, 08 May 1997 00:00
67 lines
4121 bytes
On 8 May 1997, Matt Dillon wrote:

> :>>  the history files together are ussing
> :>> 127 Mb.
>
>     With a full feed, this generally results in the history file stabilizing
>     at around 300 MBytes.  If you are taking less then a full feed, the
>     size will be proportionally smaller:
> 
> nntp1:/news> ls -la lib/history
> -rw-rw-r--  1 news  news  325577635 May  8 01:17 lib/history

    Hmmm, I had to bump the expire.ctl /remember/ time of INN down to less
than 11 days because of insufficient disk space here (to be remedied with
purchase of a disk *not* to be shared with lusers), and still I'd see
history files >330M in size.  Letting a history file build from scratch
showed that each day it would be roughly 30M larger, so you can expect a
full feed's history needs to be some 30 to 35M each day at the moment, and
probably around 40M in the not-too-distant future, like maybe in a month
or so.  Slightly smaller on weekends.  This history file is sold by
weight, not volume.  Contents may have settled in shipment.

    This will also depend on the format of your history file -- I'm
running a non-standard INN which writes the third field in the history
file somewhat differently, in a format shorter than the conventional
newsgroup/article format (with possible multiple entries in this field for
crossposted articles normally being written) -- the typical length of one
of these fields for me is about 16 characters.  On the other hand, this
third field isn't deleted as INN normally does for expired or cancelled
articles, so the difference in size might not be too great, save for sites
with a relatively long retention policy (closer to 14 days than 2 for alt,
for example).  In other words, your history file should be a bit larger.

    However, except in unusual circumstances, you should *not* reduce the
time you remember articles without adjusting the cutoff time, or you will
accept articles you've already seen if they come around a second time, as
typically a few thousand articles that are more than a week older than the
time I first saw them are offered to me by a fairly large number of peers.
Even if you do adjust the remember time and -c cutoff value downwards to,
say, a week, there are still poorly-run sites out there which hang on to
articles for over a week before disgorging them fresh to the mainstream.
Whether a week-old post is of much value is a subjective opinion...

>     So, if you are taking half a full feed, you should see history file
>     sizes on the order of 160 MBytes.  The article expiration time is
>     irrelevant.

    Actually, the expiration time does make a difference.  As noted, while
history entries will remain around for the time specified in /remember/,
they'll be shortened when the article expires.  Also, if you keep any
groups for longer than the time you remember history entries, those
articles will still remain in history until they do expire.  This can make
a difference...

-rw-rw-r--    1 news     361558970 May  8 13:48 /usr/lib/news/history

    This is on a server which takes about 2/3 of a full feed, but keeps
certain hierarchies (news, comp, sci, and similar) for well over a month,
while keeping most of alt and other high-traffic groups such as junk
and the jobs and test groups for only a few days.


Barry Bouwsma, Radio Praha  http://www.netscum.net/bouwsmb0.html


Technical Details
Message-ID: <Pine.BSF.3.95q.970508133516.306H-100000@flaming-bully.bofh.radio.cz>
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: <33703CAD.63BD@nextel.es> <33718535.1116@nextel.es> <5ks2ao$br3$1@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.95q.970508133516.306H-100000@flaming-bully.bofh.radio.cz>
Subject: Re: HISTORY must be so BIG?
Date: Thu, 08 May 1997 00:00:00 +0000
From: Barry Boursyma <boursy@Radio.CZ>
References: <33703CAD.63BD@nextel.es> <33718535.1116@nextel.es> <5ks2ao$br3$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
X-Deja-AN: 240194128
X-Sender: boursy@flaming-bully.bofh.radio.cz
Organization: Usenet Cabal
Reply-To: ag786@yfn.ysu.edu
Newsgroups: news.software.nntp