View Single Post
  #1   (View Single Post)  
Old 22nd May 2008
EricM EricM is offline
New User
 
Join Date: May 2008
Posts: 6
Default login.conf memoryuse not working

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
Reply With Quote