🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56984

Re: Overview in ovdb uses very much disk space

#56984
From: Russ Allbery
Date: Thu, 28 Feb 2002 21:43
34 lines
2834 bytes
Remco Blaakmeer <remco.usenet@remco.hn.org> writes:

> I am running INN 2.3.2 at home, carrying some local groups and sucking
> some "official" groups from my ISP's news server. This news server
> carries 84 groups with tradspool storage, totalling 1930 MB in 358389
> articles.  Until recently, I used the tradindexed overview storage
> method. This way, overview data was about 140 MB. Recently, I decided to
> try out ovdb. I shut down inn, removed all overview data, edited
> inn.conf and started makehistory. This ran out of diskspace. Then I
> symlinked <pathoverview> to a directory on another partition and tried
> again. This time it succeeded.  Soon, I discovered the reason
> makehistory ran out of diskspace. The new overview files consumed over
> 800 MB.

It looks to me like part of the problem is mostly with the Berkeley DB
logs.  This is a standard problem when doing an import into a Berkeley DB
database; I see similar complaints on the SVN mailing list.  I'm pretty
sure you're supposed to be able to delete the older logs, but I forget the
magic to determine what logs you can delete.

I'm not sure on the rest.  tradindexed is pretty efficient in terms of
disk space usage, though, and it wouldn't surprise me if a real database
just takes up more space.  (The overhead for tradindexed over the pure
overview data is an index file for each newsgroup that takes up space
equal to the number of articles in the group times ~148 bytes and a group
index file which, for the number of groups you have, is probably going to
be the minimal size of well under 1MB.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylofi95lk4.fsf@windlord.stanford.edu>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <pan.2001.12.06.20.12.45.617064.16599@remco.hn.org>

Show Full Headers
Complete Article Headers
Message-ID: <ylofi95lk4.fsf@windlord.stanford.edu>
Subject: Re: Overview in ovdb uses very much disk space
Date: Thu, 28 Feb 2002 13:43:55 -0800
From: Russ Allbery <rra@stanford.edu>
References: <pan.2001.12.06.20.12.45.617064.16599@remco.hn.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 33
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1014932636 3272 171.64.13.23 (28 Feb 2002 21:43:56 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:nV7gIid5883A+6Bh4mH7EfAVhS4=