Subject: Re: VM problems
To: None <chase@ece.utexas.edu>
From: Hitoshi Suzuki <hsuzuki@hip.atr.co.jp>
List: current-users
Date: 07/28/1995 20:55:07
Hello,

>>>>> On Thu, 27 Jul 1995 16:29:47 +0000 (CDT), "Craig M. Chase" <chase@pine.ece.utexas.edu> said:

Craig> I can't seem to get my NetBSD-current kernel to swap/page.

Craig> chase@marvin>pstat -s
Craig> Device      512-blocks     Used    Avail Capacity  Type
Craig> /dev/wd0b       262080    20680   241400     8%    Interleaved
Craig> chase@marvin>foo 16
Craig> no memory

There are software limits.
man limit will help.

My results are as follows.

chacha# limit
cputime         unlimited
filesize        unlimited
datasize        262144 kbytes
stacksize       8192 kbytes
coredumpsize    0 kbytes
memoryuse       unlimited
memorylocked    unlimited
maxproc         40 
openfiles       64 
chacha# ./foo 16 &
[1] 1517

chacha# ps ux
USER       PID %CPU %MEM   VSZ  RSS TT  STAT STARTED       TIME COMMAND
root      1517  3.1 26.1 16400 4268 p5  D     8:52PM    0:04.29 ./foo 16 
root         1  0.0  0.1   224   16 ??  Is    4:27PM    0:00.08 /sbin/init 
...

chacha# pstat -s
Device      1K-blocks     Used    Avail Capacity  Type
/dev/wd0b       48384    23812    24572    49%    Interleaved
-- 
hsuzuki@hip.atr.co.jp (suzuki@smlab.tutkie.tut.ac.jp)