*BSD News Article 96013


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!uunet!in1.uu.net!144.212.100.12!news.mathworks.com!gatech!smash.gatech.edu!tpac.gcatt.gatech.edu!doug
From: Doug Porter <doug@tpac.gcatt.gatech.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: process memory limit in kernel
Date: 23 May 1997 00:57:25 GMT
Organization: Georgia Institute of Technology
Lines: 17
Message-ID: <5m2q1l$egd@smash.gatech.edu>
NNTP-Posting-Host: tpac.gcatt.gatech.edu
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970309; i386 FreeBSD 2.2.1-RELEASE]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41464

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 :-)

cheers,

doug