I am trying to set a memory limit so that any process using more then the limit I set gets killed or otherwise not allowed to allocate any more memory.
I followed the instructions on
http://www.freebsd.org/cgi/man.cgi?q...conf&sektion=5
edited /etc/login.conf
In the default class i changed
:memoryuse=unlimited:\
to
:memoryuse=150M:\
then run
cap_mkdb /etc/login.conf
I can still run processes that are using more then 150MB memory and nothing happens.
What did I do wrong?
Im running FreeBSD 6.0-RELEASE