🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8692

Re: Bad free() ignored

#8692
From: Matthew Ward
Date: Fri, 21 Jun 1996 00:00
54 lines
2656 bytes
Jim Jagielski wrote:
> 
> fred@lightside.net (Fred Condo) writes:
> 
> >Suddenly, after years of happy service, INN has started logging dozens of
> >messages like this one:
> 
> >Jun 13 12:25:13 covina innxmit[14928]: Bad free() ignored
> 
> >I found no reference to this message in the FAQ. Is any action required on
> >my part? Might this be a manifestation of an OS bug (we're running INN
> >under A/UX)? Any thoughts or suggestions will be much appreciated. Thank
> >you.
> 
> The ./lib/malloc.c included with INN reports this when the pointer passed
> to free() isn't a valid one (ie: it's not one previously malloc'ed).
> 
> As the above shows, INN simply ignores the bad free, but something must
> be passing the bad pointer. I'm guessing some sort of mismatch between
> the files in your spool and maybe your history file.
> 
> It's unlikely that A/UX has anything to do with it (possible, but
> unlikely) since the malloc package is the INN version.
> 
> I use the GNUmalloc package myself (it's smaller and faster)... it's worth
> a try. For INN, it's even better than the malloc() in libUTIL.

Here's a possibly related question:

Has anybody seen mysterious memory problems with INN1.4unoff[34] under 
HP/UX 9.xx ?

I've got a server that runs BLAZINGLY fast right after reboot, and for 
a few hours, but slowly degrades.  

Virtual memory slowly, but steadily is growing smaller, but top shows 
that the INND process (and in.nnrpd readers as well) are VERY well-
behaved in that they trim their memory usage as the load grows.

Top shows that RESD Sizes do NOT balloon out of control, but 
virtual memory continually shrinks.  This means a reboot every 10 
hours or so.  Not a great idea.

I guess I could try the GNUmalloc ... sigh.

Any tip GREATLY appreciated.

AD(thanks)VANCE
--
"My people are the people of the dessert," said T.E. Lawrence, 
picking up his fork.     -- /\/\ a tt == Matthew.Ward@gte.net

Technical Details
Message-ID: <31CA496D.657E@gte.net>
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!not-for-mail
References: <fred-1406960958100001@appenzell.lightside.net> <4puh4q$1bn@shado.jaguNET.com>

Show Full Headers
Complete Article Headers
Message-ID: <31CA496D.657E@gte.net>
Subject: Re: Bad free() ignored
Date: Fri, 21 Jun 1996 00:00:00 +0000
From: Matthew Ward <Matthew.Ward@gte.net>
References: <fred-1406960958100001@appenzell.lightside.net> <4puh4q$1bn@shado.jaguNET.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!not-for-mail
X-Deja-AN: 161328035
Content-type: text/plain; charset=us-ascii
Organization: GTE Intelligent Network Services
Mime-version: 1.0
Newsgroups: news.software.nntp
X-mailer: Mozilla 2.01 (Win16; I)