[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-jail
Subject:    Memory Limits
From:       000.fbsd () quip ! cz (Miroslav Lachman)
Date:       2011-05-23 19:05:40
Message-ID: 4DDAAC05.5050101 () quip ! cz
[Download RAW message or body]

Lars R. Noldan wrote:
> Hello all,
>
> I'm sorry if this has been asked before. My search fu only showed
> something dating back to FreeBSD 6.2 era, and I know a lot of work has
> gone into jails since then. Is there a way to limit the amount of total
> ram available to a jail? Say for instance I have a jails server with
> 32gb of ram, can I limit jail01 to 512mb? If this isn't currently
> possible is there any work being done towards this goal?
>
> Any suggestions you can provide, including links to the fine manual I
> should have found but didn't are welcome.
>
> Thanks for all the hard work that's gone into jails! In the time I've
> been using them (since 7.1-Release) The improvements are huge!

You are looking for http://wiki.freebsd.org/Hierarchical_Resource_Limits
it is implemented in 9-CURRENT
http://svnweb.freebsd.org/base/head/usr.bin/rctl/

Miroslav Lachman

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic