🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55422

Re: inn dies no memory--but I have over 2.5 GB!!!

#55422
From: Russ Allbery
Date: Sat, 01 Dec 2001 00:40
29 lines
2026 bytes
Q <spam@2thebatcave.com> writes:

> I keep getting in my log:

> Nov 28 19:45:40 news innd: SERVER cant malloc 130510 bytes at line 453
> of art.c: Cannot allocate memory

> Then I have to restart innd to make it work again.  This kept happening,
> so I just kept giving it more memory.  Now I have 640MB of RAM and 2GB
> swap.

Are you sure that you don't have per-process resource limits set somewhere
that are not permitting INN to use the available memory?

> After having the server up for about 8 hours, I notice that there is
> only about 3 or 4MB free in RAM, however nothing is used in the swap at
> all.

This is normal for any modern computer system; all free memory will be
used for the file cache on the grounds that there's no point in having
perfectly decent memory just sit around idle.  The free memory number is
therefore very deceptive.

-- 
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: <yl1yif22no.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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: <qENN7.4542$R24.234555@typhoon.austin.rr.com>

Show Full Headers
Complete Article Headers
Message-ID: <yl1yif22no.fsf@windlord.stanford.edu>
Subject: Re: inn dies no memory--but I have over 2.5 GB!!!
Date: Sat, 01 Dec 2001 00:40:43 +0000
From: Russ Allbery <rra@stanford.edu>
References: <qENN7.4542$R24.234555@typhoon.austin.rr.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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: 28
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1007167243 25809 171.64.13.23 (1 Dec 2001 00:40:43 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)