🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49558

Re: Expire failing can't malloc

#49558
From: Russ Allbery
Date: Wed, 27 Dec 2000 11:21
22 lines
1956 bytes
Tom Ippolito <tom_ippolito@prodigy.net> writes:

> The 131072KB was prior to my changing the ulimit, the number you
> underscored was..1048576KB, this was after changing the limit and
> running exec su - news, and before the last failure of "Can't malloc
> 514893048 bytes: Not enough space".  The limit would not appear to be
> the problem.  Any other suggestions?

Ah, sorry, you're right; I just can't read.

Hm.  I think that expire needs to allocate twice the size of the hash, or
at least mmap's half of it which could impact the same limit.  So it
*might* still be the limit.

There just isn't that many things that cause that message.  That message
means that malloc failed and the operating system said the program
couldn't allocate that much space.  So something's preventing the program
from allocating enough space.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <ylpuieun2k.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-mail
References: <3A48FBE2.D7E11016@prodigy.com> <ylsnna7wa4.fsf@windlord.stanford.edu> <3A490682.C41B6C1D@prodigy.com> <yln1di7teh.fsf@windlord.stanford.edu> <3A4919E0.E97C1748@prodigy.com> <yl3dfa7pxj.fsf@windlord.stanford.edu> <92br38$95ac$1@newssvr06-en0.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylpuieun2k.fsf@windlord.stanford.edu>
Subject: Re: Expire failing can't malloc
Date: Wed, 27 Dec 2000 11:21:23 +0000
From: Russ Allbery <rra@stanford.edu>
References: <3A48FBE2.D7E11016@prodigy.com> <ylsnna7wa4.fsf@windlord.stanford.edu> <3A490682.C41B6C1D@prodigy.com> <yln1di7teh.fsf@windlord.stanford.edu> <3A4919E0.E97C1748@prodigy.com> <yl3dfa7pxj.fsf@windlord.stanford.edu> <92br38$95ac$1@newssvr06-en0.news.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: 21
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)