Memory Limits
Miroslav Lachman
000.fbsd at quip.cz
Mon May 23 19:05:34 UTC 2011
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
More information about the freebsd-jail
mailing list