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>

index | next in thread | previous in thread | raw e-mail

Wiadomość napisana przez Peter Ankerstål w dniu 2 mar 2013, o godz. 16:21:
> Hi!
> 
> Im trying to limit memory usage for jails with the rctl API. But I don't really get it.
> 
> I have compiled the kernel with the right options and rctl show me stuff like:
> jail:jail22:memoryuse:deny=268435456
> jail:jail22:swapuse:deny=268435456
> jail:jail20:memoryuse:deny=268435456
> jail:jail20:swapuse:deny=268435456
> jail:jail16:memoryuse:deny=268435456
> jail:jail16:swapuse:deny=268435456
> 
> but when I try to allocate memory it doesn't seem to hit the limit. Also when I run 
> # rctl -u jail:jail20
> cputime=0

[..]

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

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



home | help

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