🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24962

Re: Rebuilding history database while doing crossposting?

#24962
From: Another Victim of the Usenet Maf...
Date: Wed, 07 Jan 1998 00:00
59 lines
3753 bytes
On 38 Dec 1997, Jan Isley wrote:

> Look at the size of that thing!  -- Luke Skywalker

Well, you may got the length thar, but how big around are you?

news@news-feed.inet.tele.dk:/home/news>ls -l /news/spool/hist/
total 1152460
-rw-r--r--  1 news  news    1038336 Jan  5 23:49 badhistory.gz
-rw-rw-r--  1 news  news  816143629 Jan  7 17:40 history
-rw-rw-r--  1 news  news        120 Jan  7 17:40 history.dir
-rw-r--r--  1 news  news        156 Jan  5 23:49 history.dir-64-bit
-rw-rw-r--  1 news  news        159 Jan  6 09:16 history.dir-USE-ME
-rw-r--r--  1 news  news        124 Jan  5 23:49 history.dir-old
-rw-r--r--  1 news  news         50 Jan  5 23:49 history.dir-v6.0
-rw-rw-r--  1 news  news  108000000 Jan  7 17:40 history.hash
-rw-rw-r--  1 news  news   72000000 Jan  7 17:40 history.index
-rw-rw-r--  1 news  news  182255704 Jan  6 09:41 history.pag-old
-rw-r--r--  1 news  news      23079 Jan  5 23:52 reallybadhistory
news@news-feed.inet.tele.dk:/home/news>cat !$/history.dir
cat /news/spool/hist//history.dir
dbz 6 18000000 10 66
10780667 11424133 10608109 11390970 11167562 11051728 11014846 11048636 11194578 11253967
news@news-feed.inet.tele.dk:/home/news>

That is, our history file is remembering just under 12 million entries,
and is likely to exceed that soon now that the holidays are over.  And
you?

The thing about these whoppers is that they point out flaws in the history
database design which otherwise wouldn�t be discovered until it's too
late.  The common practice nowadays is to run with a shortened /remember/
time, which results in a smaller history file and better performance.  But
today's 14 day history file you see above is tomorrow's 7 day file.  Well,
maybe not tomorrow, but next week's, or next month...

Another thing which astute observers will note is that I've just
experimentally switched over from a hacked 64-bit dbz v3.2 (that old .pag
file) to the v6.0 dbz in use in INN 1.8, but which required heavy
modification to the code here during which some, um, how we say,
undocumented features appear to have been introduced.

Nevertheless, the reason I felt I should give v6.0 a try, apart from
guaranteeing job security when nobody can figure out what the hell has
been done to the bloody server, is that I've discovered what I suspect to
be an OS or filesystem problem which is killing single-threaded INN's
performance.  Unfortunately, this problem appears to plague the latest dbz
code as well (along with my own enhancements), so that now I've been
giving far more thought to a rewrite of dbz along the lines as discussed a
while back by a certain Scott with a certain Joe outside this forum, which
would be far more scalable than dbz v6.0 seems to be.


Barry Bouwsma
will not expire for food


Technical Details
Message-ID: <Pine.BSF.3.96.980107174507.8456A-100000@marley.vszbr.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: <68tncd$p8h$1@newnews.Warren.MENTORG.COM> <68tp5f$sfa$1@synthemesc.insync.net> <Pine.BSF.3.96.980106202917.863B-100000@coredump.int.tele.dk> <68v7vr$6oe$10@synthemesc.insync.net> <68va5p$4mj@camel18.mindspring.com>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.980107174507.8456A-100000@marley.vszbr.cz>
Subject: Re: Rebuilding history database while doing crossposting?
Date: Wed, 07 Jan 1998 00:00:00 +0000
From: Another Victim of the Usenet Mafia <barry@vszbr.cz>
References: <68tncd$p8h$1@newnews.Warren.MENTORG.COM> <68tp5f$sfa$1@synthemesc.insync.net> <Pine.BSF.3.96.980106202917.863B-100000@coredump.int.tele.dk> <68v7vr$6oe$10@synthemesc.insync.net> <68va5p$4mj@camel18.mindspring.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: 313665410
Content-Transfer-Encoding: 8BIT
Mime-Version: 1.0
Reply-To: ag786@yfn.ysu.edu
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Organization: Insecure, poorly-hung SWM ISO losta diskspace
Newsgroups: news.software.nntp