do the resource limits still work?

Stefan Vogtner (Stefan.Vogtner@rz.ruhr-uni-bochum.de)
Sun, 08 Jun 1997 22:46:54 +0200


The resource limits for the memory utilization under Linux 2.0.29 and
2.0.0 (both slackware) seem not to work as expected. With rigid setting
limits (tcsh):

[stvo]pcgw% limit
cputime unlimited
filesize 1048576 kbytes
datasize 2048 kbytes
stacksize 2048 kbytes
coredumpsize 0 kbytes
memoryuse 2048 kbytes
descriptors 256
memorylocked 2048 kbytes
maxproc 256

and ulimit (bash):

bash$ ulimit -a
core file size (blocks) 0
data seg size (kbytes) 2048
file size (blocks) 1048576
max memory size (kbytes) 2048
stack size (kbytes) 2048
cpu time (seconds) unlimited
max user processes 256
pipe size (512 bytes) 8
open files 256
virtual memory (kbytes) 4096

I was able to dynamically malloc/statically allocate objects with
more than 3MB.

Any suggestion?

-- 
mailto:Stefan.Vogtner@rz.ruhr-uni-bochum.de            ****
http://unibo6.theochem.ruhr-uni-bochum.de/stvo         ****
                                                       ****