*BSD News Article 95949


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!uunet!in3.uu.net!206.229.87.25!news-peer.sprintlink.net!news.sprintlink.net!Sprint!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: process memory limit in kernel
Date: 23 May 1997 11:07:09 GMT
Organization: Awfulhak Ltd.
Lines: 29
Message-ID: <5m3tot$ic4@ui-gate.utell.co.uk>
References: <5m2q1l$egd@smash.gatech.edu>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41406

In article <5m2q1l$egd@smash.gatech.edu>,
	Doug Porter <doug@tpac.gcatt.gatech.edu> writes:
> While running an application of ours, I was running into memory problems with a
> 128meg limit.  I looked into the kernel makefile and found nothing, but finding an
> example in LINT I set it to 256meg (amt of physical memory).  Which brought to mind
> some questions: 
> 
> Is there a constant for infinite/no limit?  I see RLIM_INFINITY in the setrlimit
> man page but haven't tried it inthe kernel makefile, would it work? 
> 
> Are there any problems associated with setting it extremely high (like sum of
> physical/virtual memory, or higher)?  Would it be bad to set it to MAXINT?
> 
> ahhh...  never had these problems on my C64 :-)

You havn't said what you changed yet.  If you changed MAXMEM, this is
meant to represent your physical memory.  The CMOS can't report more
than 64Mb.  If you set it to more than your physical memory size,
the machine won't boot.

> cheers,
> 
> doug
> 

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !