🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80138

Re: JFTR: ovdb + db46 should be omitted

#80138
From: Russ Allbery
Date: Fri, 20 Feb 2009 19:23
28 lines
2088 bytes
Michael Grimm <trashcan@odo.in-berlin.de> writes:

> To whom it may concern: db46 seems to have an issue with "runaway"
> memory. 
>
> I had it running for two weeks and after 24-30 hours I ran into:
>
> | nnrpd[1234]: OVDB: open: groupinfo->open: Cannot allocate memory
>
> After every crash I did increase set_lg_regionmax significantly in
> .../overview/_DB_CONFIG upto 25000000, but, to no avail.
>
> A websearch [1] led me to a report about an assumed memory leak in 
> db46. Therefore I upgraded to db47, removed _DB_CONFIG, and haven't
> had anymore crashes ever since.
>
> This is on FBSD 7.1 and INN 2.4.5.

BerkeleyDB 4.6 in general had various issues.  You want to be running 4.7
with the current patches.  4.7 seems to be the first really stable,
reliable, and fast version of BerkeleyDB since 4.2 based on experience
with OpenLDAP.

-- 
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: <87prhcc3q7.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!zen.net.uk!dedekind.zen.co.uk!newshub.sdsu.edu!newsfeed.stanford.edu!news.stanford.edu!not-for-mail
References: <gnmqtg$m4l$1@de-l.enfer-du-nord.net>

Show Full Headers
Complete Article Headers
Message-ID: <87prhcc3q7.fsf@windlord.stanford.edu>
Subject: Re: JFTR: ovdb + db46 should be omitted
Date: Fri, 20 Feb 2009 11:23:12 -0800
From: Russ Allbery <rra@stanford.edu>
References: <gnmqtg$m4l$1@de-l.enfer-du-nord.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!zen.net.uk!dedekind.zen.co.uk!newshub.sdsu.edu!newsfeed.stanford.edu!news.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 28
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.stanford.edu 1235157792 1605 171.67.225.134 (20 Feb 2009
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Cancel-Lock: sha1:6IGt0CS0jsSwfFWGdrXT1LoyIt0=