🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11783

Re: INN1.4unoff4 remalloc

#11783
From: USENET news
Date: Sun, 20 Oct 1996 00:00
47 lines
2934 bytes
In article <53s7uj$fc3@earth.alpha.net>, Joe Greco <jgreco@ns.sol.net> wrote:
>In article <53p1pa$rt5@news.demos.su>,
>Andrew A. Vasilyev  <andy@snm.demos.su> wrote:
>>Joe Greco <jgreco@ns.sol.net> wrote:
>>> I have gotten around this in the past by linking in -lgnumalloc.
>>
>>  And did you try to build INN with malloc.c from $inn/lib?
>>
>>> I am currently trying phkmalloc (available in FreeBSD-current) as an
>>> alternative.
>
>No.
>
>But phkmalloc appears to be working great.

I had the same problem (i.e. remalloc erros), transiently, with INN
1.4unoff4 on Solaris 2.5. No limits were in effect and plenty of both real
and virtual memory unused. The failures were for trivial (few tens of KB)
amounts of memory. They did, however, coincide with a period when system
problems were causing the system to lock up every few hours or days to the
extent it had to be power-cycled, with consequent filesystem wreckage.
Filesystems intact, but a lot of article and batch files which were either
empty or "contained" whatever had been in those disc blocks previously, not
the article they were meant to contain. [The system was too unstable to have
any chance of running jobs to locate and remove damaged articles for the 2-3
weeks it took to pin down the combination of hardware and device driver
problems causing the trouble... I just had to fix up the problems as they
arose.]

My guess then was that something about those files was causing confusion and
e.g. buffer overruns, leading later to the odd remalloc failures. The
problem vanished as abruptly as it appeared. Certainly a number of other
aspects of INN turned out to be "fragile" in the face of article or batch
files containing junk instead of the expected contents. [Yes, I reported
those problems, so they might be fixed e.g. in INN 1.5, though for some of
them there weren't any clues to cause, just the effects.]

So, I have a suspicion there may be a lurking bug in INN which under some
circumstances may cause remalloc problems, apart from the obvious
possibility that the process isn't being allowed more memory due to a system
limit. How widely that may be relevant - if it's even correct - is less
clear!

                                John Line

Technical Details
Message-ID: <54d0ri$9hc@lyra.csx.cam.ac.uk>
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: <53j906$46t@netdtw1.netdtw.com> <53mfo9$der@earth.alpha.net> <53p1pa$rt5@news.demos.su> <53s7uj$fc3@earth.alpha.net>

Show Full Headers
Complete Article Headers
Message-ID: <54d0ri$9hc@lyra.csx.cam.ac.uk>
Subject: Re: INN1.4unoff4 remalloc
Date: Sun, 20 Oct 1996 00:00:00 +0000
From: news@news.cam.ac.uk (USENET news)
References: <53j906$46t@netdtw1.netdtw.com> <53mfo9$der@earth.alpha.net> <53p1pa$rt5@news.demos.su> <53s7uj$fc3@earth.alpha.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
X-Deja-AN: 190725977
Distribution: inet
Organization: Computing Service, Cambridge University, England
Newsgroups: news.software.nntp