🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49550

Re: Expire failing can't malloc

#49550
From: Tom Ippolito
Date: Tue, 26 Dec 2000 20:58
36 lines
2402 bytes
Russ,
  Thanks for your speedy reply.  I set the limits back to what they were
after they had no apparent effect.  I'm pretty sure I tried setting data
and memory to half this number first, that didn't work either.  Doubled
the numbers and tried again, output follows;

svr05:news> dbz.c:1297 Can't malloc 514893048 bytes: Not enough space

svr05:news> ulimit -a
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         1048576
stack(kbytes)        32768
memory(kbytes)       1048576
coredump(blocks)     2097151
nofiles(descriptors) 2000

I misremebered the amount of swap, it's 4GB.  It's been a practice here to
double the physical memory and configure that much swap.  It's totally uncalled
for since we rarely use more than 10%.

-- 
   Tom Ippolito
   Newsgroups System Administrator
   Prodigy Communications LP
   Email tom_ippolito@prodigy.net


Russ Allbery wrote:
> 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: <3A490682.C41B6C1D@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!sn-xit-03!supernews.com!europa.netcrusader.net!192.148.253.68!netnews.com!howland.erols.net!newscon04-ext.news.prodigy.com.MISMATCH!newscon04.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!not-for-mail
References: <3A48FBE2.D7E11016@prodigy.com> <ylsnna7wa4.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3A490682.C41B6C1D@prodigy.com>
Subject: Re: Expire failing can't malloc
Date: Tue, 26 Dec 2000 15:58:42 -0500
From: Tom Ippolito <tommy@prodigy.com>
References: <3A48FBE2.D7E11016@prodigy.com> <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!sn-xit-03!supernews.com!europa.netcrusader.net!192.148.253.68!netnews.com!howland.erols.net!newscon04-ext.news.prodigy.com.MISMATCH!newscon04.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Prodigy Communications Corp.
Lines: 35
NNTP-Posting-Host: polaris.prodigy.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: newssvr06-en0.news.prodigy.com 977864324 289718 192.168.190.232 (26 Dec 2000 20:58:44 GMT)
X-Complaints-To: abuse@prodigy.net
NNTP-Posting-Date: 26 Dec 2000 20:58:44 GMT
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.0.30 i586)
X-Accept-Language: en