Subject: Re: Memory size limit?
To: Nico van Eikema Hommes <hommes@derioc1.organik.uni-erlangen.de>
From: Allen Briggs <briggs@puma.macbsd.com>
List: port-mac68k
Date: 10/13/1997 22:19:33
>     Hi,

Hi.

> Does anybody know if the memory allocation size under NetBSD/mac68k is
> limited?

Yes.  There are several limits.  You can expand them as root, recompile
a kernel with a couple of constants changed, or I think that you can do
something to remove the limits on login (and your shell inherits from
login).  There is a hard limit, though.

The following is from puma (running OpenBSD 2.something on a IIcx
until NetBSD 1.3 stabilizes and I replace the IIcx with a Q650):

puma# limit
cputime         unlimited
filesize        unlimited
datasize        16384 kbytes
stacksize       512 kbytes
coredumpsize    unlimited
memoryuse       16980 kbytes
memorylocked    5660 kbytes
maxproc         80 
openfiles       64 
puma# unlimit
puma# limit
cputime         unlimited
filesize        unlimited
datasize        65536 kbytes
stacksize       65536 kbytes
coredumpsize    unlimited
memoryuse       16980 kbytes
memorylocked    16980 kbytes
maxproc         276 
openfiles       892 
puma# 

I'm not sure what it would take to up the limits higher.  I haven't
looked at that stuff in a long time.

-allen

-- 
              Allen Briggs - end killing - briggs@macbsd.com