Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2011 20:48:37 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        "Lars R. Noldan" <lars@sixfeetup.com>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: Memory Limits
Message-ID:  <4DDAAC05.5050101@quip.cz>
In-Reply-To: <4DDA8FDE.9030005@sixfeetup.com>
References:  <4DDA8FDE.9030005@sixfeetup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DDAAC05.5050101>