From owner-freebsd-virtualization@FreeBSD.ORG Mon Oct 5 20:28:50 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61D651065694 for ; Mon, 5 Oct 2009 20:28:50 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outX.internet-mail-service.net (outx.internet-mail-service.net [216.240.47.247]) by mx1.freebsd.org (Postfix) with ESMTP id 437CE8FC19 for ; Mon, 5 Oct 2009 20:28:50 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 763A4961D8; Mon, 5 Oct 2009 13:29:05 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 6FDEB2D6012; Mon, 5 Oct 2009 13:28:49 -0700 (PDT) Message-ID: <4ACA5704.2070404@elischer.org> Date: Mon, 05 Oct 2009 13:28:52 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Tom Judge References: <4ACA0549.7030404@tomjudge.com> <4ACA2E0F.5010800@elischer.org> <4ACA3146.9090402@tomjudge.com> <6201873e0910051142q58e7563fqc7735261ea9ab3c6@mail.gmail.com> <4ACA4216.9060008@tomjudge.com> In-Reply-To: <4ACA4216.9060008@tomjudge.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Adam Vande More , freebsd-current@freebsd.org, Jamie Gritton , FreeBSD virtualization mailing list Subject: Re: Per Jail Memory Limits X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 20:28:50 -0000 Tom Judge wrote: > Adam Vande More wrote: >> On Mon, Oct 5, 2009 at 12:47 PM, Tom Judge > > wrote: >> >> Julian Elischer wrote: >> >> Tom Judge wrote: >> >> Hi, >> >> Does anyone know of a patch that will add per jail memory >> limits so that a jail can't swallow the resources of the >> entire box? >> >> >> Thanks >> >> Tom >> _______________________________________________ >> freebsd-current@freebsd.org >> mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org >> " >> >> >> >> not yet.. >> >> >> I started to port this to 7.1 today: >> >> http://wiki.freebsd.org/JailResourceLimits >> >> >> What are the peoples opinions on this patch? >> >> >> Tom >> >> >> If you're soliciting opinions if this will be used and is needed, I >> would love to see this functionality. This is the main reason I've >> had to chose XEN over jails. If you need some help testing, let me know. >> >> -- >> Adam Vande More > Hi Adam, > > I have a patch against 7.1 here: > http://svn.tomjudge.com/freebsd/patches/jail-resource-limits/jail-limits.patch probably the person who should work with this in -current is james (CC'd) > > > I will try to bring the patch up to current when I get a chance but I > have no real need to do this as we use 7.1 in production. > > Notes: > > * CPU limiting is not support is not supported unless you use > shecd_4bsd. > * I have not tested this on any system yet, just compile tested, I am > putting it though its paces right now. > > Tom > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"