🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32667

Re: HISTORY file is very BIG

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

Technical Details
Message-ID: <71ku6b$3eo$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> <71jlg4$ruc$1@magnum.mmm.com> <71jp5t$m89$1@flea.best.net> <slrn73rreu.u58.john+usenet@haybaler.sackheads.org>

Show Full Headers
Complete Article Headers
Message-ID: <71ku6b$3eo$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> <71jlg4$ruc$1@magnum.mmm.com> <71jp5t$m89$1@flea.best.net> <slrn73rreu.u58.john+usenet@haybaler.sackheads.org>
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: 407637420
X-Trace: nntp1.ba.best.com 910031890 29751 dillon@206.184.139.131
Organization: BEST Internet Communications, Inc. www.best.com
Newsgroups: news.software.nntp