DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 22nd May 2008
EricM EricM is offline
New User
 
Join Date: May 2008
Posts: 6
Thanked 0 Times in 0 Posts
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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
some login.conf questions gosha OpenBSD General 2 5th July 2009 12:43 PM
Login automatically map7 FreeBSD General 1 12th October 2008 11:09 PM
difference between rc.conf and loader.conf disappearedng FreeBSD General 5 3rd September 2008 05:54 AM
How can i login to my FreeBSD ?? ceramic FreeBSD Installation and Upgrading 4 28th July 2008 11:56 AM
How to set up ssh login cssgalactic FreeBSD General 12 28th June 2008 06:00 PM


All times are GMT. The time now is 07:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick