*BSD News Article 84684


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!howland.erols.net!feed1.news.erols.com!insync!Gamma.RU!srcc!demos!news-out.communique.net!not-for-mail
From: "Raul Zighelboim" <mango@communique.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: memory limits for single process ?
Date: 12 Dec 1996 20:45:43 GMT
Organization: Communique Inc.
Lines: 30
Message-ID: <01bbe86d$7681adb0$2c411bcc@shame>
NNTP-Posting-Host: in-044.n.communique.net
X-Newsreader: Microsoft Internet News 4.70.1155
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32508



Before I recompile innd with -lgnumalloc, aI would like to try 
to increase the limit of memory inn can use, but I cannot find
the kernel variable to do so.

Why? :

My news server (1nn 1.5) dies last night with:
SERVER cant remalloc 393216 bytes Cannot allocate memory

And:

According to the FAQ:
-------
Subject: (5.24) ME cant remalloc xx bytes Cannot allocate memory
    
This probably means that innd wants to grow bigger than what the
actual limit for a single process is. 
To solve this either rebuild your kernel with a different default max, 
or add "unlimit datasize" to the beginning on your rc.news file.
On some OS (e.g. FreeBSD 2.1.x) there might be some problems when
using the supplied malloc. Linking with -lgnumalloc helped (after Joe
Greco <jgreco@ns.sol.net>). 
-------

-- 
----------------------------------------------------------------------------
--
Raul Zighelboim            mango@communique.net