Article View: news.software.nntp
Article #49548Re: Expire failing can't malloc
From: Russ Allbery
Date: Tue, 26 Dec 2000 20:38
Date: Tue, 26 Dec 2000 20:38
23 lines
1816 bytes
1816 bytes
Tom Ippolito <tommy@prodigy.com> writes: > I've got a server running with just under a terabyte worth of spool. > It's news daily has been failing, and unfortunately it went unnoticed. > I now have a history file in excees of 3GB and need to run expire, or > rebuild history, hopefully avoiding loosing what's in the spool. The > error I get when expire runs is > news> dbz.c:1297 Can't malloc 514893048 bytes: Not enough space > The machine has 4GB of storage and about 2GB of paging, so I took a stab > at raising the ulimits, to see if that would get me past it. No such > luck (even after I remembered to log back in so the changes would take > effect). Can anyone offer me a way out of this situation. I'll be > forever in your debt ;-) That's only 514MB... you should be able to malloc that much if you have 2GB of swap. Are you sure you got the limits successfully raised? What does ulimit -a say? -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylsnna7wa4.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!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<3A48FBE2.D7E11016@prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <ylsnna7wa4.fsf@windlord.stanford.edu> Subject: Re: Expire failing can't malloc Date: Tue, 26 Dec 2000 20:38:43 +0000 From: Russ Allbery <rra@stanford.edu> References: <3A48FBE2.D7E11016@prodigy.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!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 22 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)