🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55421

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

#55421
From: Eusa Hues
Date: Fri, 30 Nov 2001 22:39
34 lines
2487 bytes
On Fri, 30 Nov 2001 15:32:38 GMT, Q <spam@2thebatcave.com> wrote:

>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

<snip>

I've seen a problem like this with corrupted cnfs buffers. ( it wasn't
best pleased at accessing them over NFS without someone that actually
knew what they were doing tweaking it ). 

The size of some articles appeared to be very ( VERY ) large (
sometimes 100s of MB or ever GB! ), and this amount of memory was
malloc'd when the article was requested by a reader. No matter how
much ram or swap you had this quite nicely broke things!

setting "cnfscheckfudgesize 1" ( or higher if you want? ) in inn.conf
"sanity checks" the size ( compares it to the max article size + that
number ) before doing anything else. It writes an error line when it's
just "saved" you... so adding it in to see if that *is* the problem is
at least worth a try.

Finding out why your cnfs buffer is corrupt is then the issue.

Probably not your problem.. but heh... might be.

-- 
The Name's Hues... Eusa Hues.
My comments above are my own ( and could be right or wrong and/or tpyo'd )
They are not those of the people whose tea I used to make.. 
but since they just use the vending machine now I'm at a bit of a loss
Technical Details
Message-ID: <au1g0u4vf3earga428odivoc835ho4e6h2@4ax.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!diablo.theplanet.net!news.theplanet.net!not-for-mail
References: <qENN7.4542$R24.234555@typhoon.austin.rr.com>

Show Full Headers
Complete Article Headers
Message-ID: <au1g0u4vf3earga428odivoc835ho4e6h2@4ax.com>
Subject: Re: inn dies no memory--but I have over 2.5 GB!!!
Date: Fri, 30 Nov 2001 22:39:23 +0000
From: Eusa Hues <eusahues@coresystems.org.uk>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!diablo.theplanet.net!news.theplanet.net!not-for-mail
Newsgroups: news.software.nntp
Organization: You Never Know?
Lines: 33
NNTP-Posting-Host: webcachem01b.cache.pol.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news6.svr.pol.co.uk 1007159963 9973 195.92.194.11 (30 Nov 2001 22:39:23 GMT)
NNTP-Posting-Date: 30 Nov 2001 22:39:23 GMT
X-Complaints-To: abuse@theplanet.net
X-Trace-PostClient-IP: 80.0.5.15
X-Newsreader: Forte Agent 1.8/32.548