Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2013 17:15:18 +0100
From:      =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= <trasz@FreeBSD.org>
To:        =?utf-8?Q?Peter_Ankerst=C3=A5l?= <peter@pean.org>
Cc:        stable@freebsd.org
Subject:   Re: Make use of RACCT and rctl
Message-ID:  <EBEF8B6F-3098-4D62-B4F2-106E1A7C5311@FreeBSD.org>
In-Reply-To: <8A4085D7-A3BF-42C8-A0D4-4B3AAE26D288@pean.org>
References:  <8A4085D7-A3BF-42C8-A0D4-4B3AAE26D288@pean.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Wiadomo=C5=9B=C4=87 napisana przez Peter Ankerst=C3=A5l w dniu 2 mar =
2013, o godz. 16:21:
> Hi!
>=20
> Im trying to limit memory usage for jails with the rctl API. But I =
don't really get it.
>=20
> I have compiled the kernel with the right options and rctl show me =
stuff like:
> jail:jail22:memoryuse:deny=3D268435456
> jail:jail22:swapuse:deny=3D268435456
> jail:jail20:memoryuse:deny=3D268435456
> jail:jail20:swapuse:deny=3D268435456
> jail:jail16:memoryuse:deny=3D268435456
> jail:jail16:swapuse:deny=3D268435456
>=20
> but when I try to allocate memory it doesn't seem to hit the limit. =
Also when I run=20
> # rctl -u jail:jail20
> cputime=3D0

[..]

Could you please do "jls jid name" and verify that a jail named "jail20" =
is actually
running?

--=20
If you cut off my head, what would I say?  Me and my head, or me and my =
body?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EBEF8B6F-3098-4D62-B4F2-106E1A7C5311>