From owner-freebsd-jail@FreeBSD.ORG Tue May 29 05:58:27 2007 Return-Path: X-Original-To: freebsd-jail@freebsd.org Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 070B316A513 for ; Tue, 29 May 2007 05:58:27 +0000 (UTC) (envelope-from cdjones-freebsd-jail@novusordo.net) Received: from correo.novusordo.net (cdjj.org [216.194.85.7]) by mx1.freebsd.org (Postfix) with ESMTP id D6B8C13C465 for ; Tue, 29 May 2007 05:58:26 +0000 (UTC) (envelope-from cdjones-freebsd-jail@novusordo.net) Received: from [192.168.2.102] (S01060004e29d3c67.ed.shawcable.net [68.148.229.10]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by correo.novusordo.net (Postfix) with ESMTP id E26C71152E for ; Mon, 28 May 2007 23:26:44 -0600 (MDT) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <84ABEDBE-EB1F-4F5D-8BAC-6860A9CED184@novusordo.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-jail@freebsd.org From: Chris Jones Date: Mon, 28 May 2007 23:26:33 -0600 X-Mailer: Apple Mail (2.752.2) Subject: Jail CPU/RAM Limits X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 05:58:27 -0000 Hi, folks --- I did up some stuff to put (soft) limits in place for CPU and RAM usage in jails as part of last year's Summer of Code project, which was originally coded against 6.x. Over the past two weeks, I've updated it so that it's built against -CURRENT; I've tested it, and it seems to work, at least on my devel box. If you're interested in trying it out, please let me know and I'll package it up. Cheers, Chris From owner-freebsd-jail@FreeBSD.ORG Tue May 29 06:30:35 2007 Return-Path: X-Original-To: freebsd-jail@freebsd.org Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5A3316A51F for ; Tue, 29 May 2007 06:30:35 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.freebsd.org (Postfix) with ESMTP id 633E613C484 for ; Tue, 29 May 2007 06:30:35 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from [192.168.1.100] (cpe-71-72-80-132.columbus.res.rr.com [71.72.80.132]) (authenticated bits=0) by mail.united-ware.com (8.13.8/8.13.8) with ESMTP id l4T70Al1073310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 May 2007 03:00:17 -0400 (EDT) (envelope-from amistry@am-productions.biz) From: Anish Mistry Organization: AM Productions To: freebsd-jail@freebsd.org Date: Tue, 29 May 2007 02:33:12 -0400 User-Agent: KMail/1.9.6 References: <84ABEDBE-EB1F-4F5D-8BAC-6860A9CED184@novusordo.net> In-Reply-To: <84ABEDBE-EB1F-4F5D-8BAC-6860A9CED184@novusordo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1370906.CIvXO1AlMK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705290233.21393.amistry@am-productions.biz> X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,MYFREEBSD2, RCVD_IN_NJABL_DUL,SPF_SOFTFAIL autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.7/3314/Mon May 28 18:13:43 2007 on mail.united-ware.com X-Virus-Status: Clean Cc: Subject: Re: Jail CPU/RAM Limits X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 06:30:35 -0000 --nextPart1370906.CIvXO1AlMK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 29 May 2007, Chris Jones wrote: > Hi, folks --- I did up some stuff to put (soft) limits in place for > CPU and RAM usage in jails as part of last year's Summer of Code > project, which was originally coded against 6.x. Over the past two > weeks, I've updated it so that it's built against -CURRENT; I've > tested it, and it seems to work, at least on my devel box. > > If you're interested in trying it out, please let me know and I'll > package it up. Yes. I'm interested. =2D-=20 Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/ --nextPart1370906.CIvXO1AlMK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQBGW8kxxqA5ziudZT0RAs17AJsGAdnrWvS7cwH6oOG0yGNuDcri/ACgkCg/ AADgDYlt1tqEADAUlDgLMSA= =aF3r -----END PGP SIGNATURE----- --nextPart1370906.CIvXO1AlMK-- From owner-freebsd-jail@FreeBSD.ORG Tue May 29 06:58:14 2007 Return-Path: X-Original-To: freebsd-jail@freebsd.org Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E26B816A481 for ; Tue, 29 May 2007 06:58:14 +0000 (UTC) (envelope-from lists@eyede.com) Received: from osiris.eyede.com (osiris.eyede.com [202.21.136.98]) by mx1.freebsd.org (Postfix) with ESMTP id 8C38313C45B for ; Tue, 29 May 2007 06:58:14 +0000 (UTC) (envelope-from lists@eyede.com) Received: from pandora.local (unknown [202.20.1.34]) by osiris.eyede.com (Postfix) with ESMTP id EC3FF1141D; Tue, 29 May 2007 18:47:49 +1200 (NZST) Message-ID: <465BCCA1.4080804@eyede.com> Date: Tue, 29 May 2007 18:48:01 +1200 From: Nigel Wohlers User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Anish Mistry References: <84ABEDBE-EB1F-4F5D-8BAC-6860A9CED184@novusordo.net> <200705290233.21393.amistry@am-productions.biz> In-Reply-To: <200705290233.21393.amistry@am-productions.biz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: Jail CPU/RAM Limits X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 06:58:15 -0000 Anish Mistry wrote: > On Tuesday 29 May 2007, Chris Jones wrote: >> Hi, folks --- I did up some stuff to put (soft) limits in place for >> CPU and RAM usage in jails as part of last year's Summer of Code >> project, which was originally coded against 6.x. Over the past two >> weeks, I've updated it so that it's built against -CURRENT; I've >> tested it, and it seems to work, at least on my devel box. >> >> If you're interested in trying it out, please let me know and I'll >> package it up. > Yes. I'm interested. > As am I, thanks. N. From owner-freebsd-jail@FreeBSD.ORG Tue May 29 11:50:50 2007 Return-Path: X-Original-To: freebsd-jail@freebsd.org Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16F1C16A421 for ; Tue, 29 May 2007 11:50:50 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [65.124.230.214]) by mx1.freebsd.org (Postfix) with ESMTP id EBA7913C45D for ; Tue, 29 May 2007 11:50:49 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from [192.168.1.10] (unknown [192.168.1.1]) by duane.dbq.yournetplus.com (Postfix) with ESMTP id 2D3D96D41C for ; Tue, 29 May 2007 11:31:32 +0000 (UTC) Date: Tue, 29 May 2007 11:31:31 +0000 (UTC) From: Duane Hill X-X-Sender: d.hill@duane.dbq.yournetplus.com To: freebsd-jail@freebsd.org In-Reply-To: <84ABEDBE-EB1F-4F5D-8BAC-6860A9CED184@novusordo.net> Message-ID: <20070529113056.F1326@duane.dbq.yournetplus.com> References: <84ABEDBE-EB1F-4F5D-8BAC-6860A9CED184@novusordo.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: Jail CPU/RAM Limits X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 11:50:50 -0000 On Mon, 28 May 2007, Chris Jones wrote: > > Hi, folks --- I did up some stuff to put (soft) limits in place for CPU and > RAM usage in jails as part of last year's Summer of Code project, which was > originally coded against 6.x. Over the past two weeks, I've updated it so > that it's built against -CURRENT; I've tested it, and it seems to work, at > least on my devel box. > > If you're interested in trying it out, please let me know and I'll package it > up. I am interested as well. From owner-freebsd-jail@FreeBSD.ORG Tue May 29 12:29:58 2007 Return-Path: X-Original-To: freebsd-jail@freebsd.org Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7087C16A400 for ; Tue, 29 May 2007 12:29:58 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 2011D13C455 for ; Tue, 29 May 2007 12:29:57 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Tue, 29 May 2007 07:49:56 -0400 id 0005641C.465C1364.000043AB Date: Tue, 29 May 2007 07:49:56 -0400 From: Bill Moran To: freebsd-jail@freebsd.org Message-Id: <20070529074956.da0fbbdf.wmoran@collaborativefusion.com> In-Reply-To: <84ABEDBE-EB1F-4F5D-8BAC-6860A9CED184@novusordo.net> References: <84ABEDBE-EB1F-4F5D-8BAC-6860A9CED184@novusordo.net> Organization: Collaborative Fusion X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.11; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Jail CPU/RAM Limits X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 12:29:58 -0000 In response to Chris Jones : > > Hi, folks --- I did up some stuff to put (soft) limits in place for > CPU and RAM usage in jails as part of last year's Summer of Code > project, which was originally coded against 6.x. Over the past two > weeks, I've updated it so that it's built against -CURRENT; I've > tested it, and it seems to work, at least on my devel box. > > If you're interested in trying it out, please let me know and I'll > package it up. Are these patches against the source, or is this something that could be turned into a port? -- Bill Moran Collaborative Fusion Inc. http://people.collaborativefusion.com/~wmoran/ wmoran@collaborativefusion.com Phone: 412-422-3463x4023 From owner-freebsd-jail@FreeBSD.ORG Tue May 29 12:31:05 2007 Return-Path: X-Original-To: freebsd-jail@freebsd.org Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 155FD16A49C for ; Tue, 29 May 2007 12:31:05 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id D252A13C458 for ; Tue, 29 May 2007 12:31:04 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.187]) by hub.org (Postfix) with ESMTP id E2672118AC44; Tue, 29 May 2007 09:30:53 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 51422-05; Tue, 29 May 2007 09:30:52 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 6F77F118AC43; Tue, 29 May 2007 09:30:53 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 4D9E43F13B; Tue, 29 May 2007 09:31:08 -0300 (ADT) Date: Tue, 29 May 2007 09:31:08 -0300 From: "Marc G. Fournier" To: Chris Jones , freebsd-jail@freebsd.org Message-ID: In-Reply-To: <84ABEDBE-EB1F-4F5D-8BAC-6860A9CED184@novusordo.net> References: <84ABEDBE-EB1F-4F5D-8BAC-6860A9CED184@novusordo.net> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Jail CPU/RAM Limits X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 12:31:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Monday, May 28, 2007 23:26:33 -0600 Chris Jones wrote: > > Hi, folks --- I did up some stuff to put (soft) limits in place for CPU and > RAM usage in jails as part of last year's Summer of Code project, which was > originally coded against 6.x. Over the past two weeks, I've updated it so > that it's built against -CURRENT; I've tested it, and it seems to work, at > least on my devel box. Have you had a chance to do up a patch against 6-STABLE? I'm still interested in putting it onto at least three of my production boxes (the ones I have easy remote access to) ... they are running upwards of 40 jails each ... - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGXB0M4QvfyHIvDvMRAvx3AJ9C4MG0bOIdu1Lu6ecdgLlDc96/qQCg3qQB DjbIx16vBw4JtQPNd+HzE+c= =9clZ -----END PGP SIGNATURE----- From owner-freebsd-jail@FreeBSD.ORG Tue May 29 12:35:08 2007 Return-Path: X-Original-To: freebsd-jail@freebsd.org Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11A7A16A400 for ; Tue, 29 May 2007 12:35:08 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mesiob.obspm.fr (mesiob.obspm.fr [145.238.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8FDDC13C45D for ; Tue, 29 May 2007 12:35:05 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from localhost (pcjas.obspm.fr [145.238.2.126]) by mesiob.obspm.fr (8.13.4/8.13.4/SIO Observatoire de Paris) with ESMTP id l4TCZ45e018628 for ; Tue, 29 May 2007 14:35:04 +0200 Date: Tue, 29 May 2007 14:35:04 +0200 From: Albert Shih To: freebsd-jail@freebsd.org Message-ID: <20070529123504.GG11076@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.15 (2007-04-06) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mesiob.obspm.fr [145.238.2.2]); Tue, 29 May 2007 14:35:04 +0200 (CEST) X-Virus-Scanned: ClamAV version 0.90.2, clamav-milter version 0.90.2 on mesiob.obspm.fr X-Virus-Status: Clean Subject: Snapshot X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 12:35:08 -0000 Hi all I would like to known if someone use mksnap_ffs to make a snapshot of a jail ? I mean : T=0 mksnap_ffs /jail/my_host T=1 shutdown jail rm -rf /jail/my_host cp from_snapffs/my_host /jail/my_host boot the jail What's you opinion on this technics ? Regards. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Téléphone : 01 45 07 76 26 Heure local/Local time: Mar 29 mai 2007 14:33:07 CEST From owner-freebsd-jail@FreeBSD.ORG Tue May 29 16:31:49 2007 Return-Path: X-Original-To: freebsd-jail@freebsd.org Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03B7416A421 for ; Tue, 29 May 2007 16:31:49 +0000 (UTC) (envelope-from cdjones@novusordo.net) Received: from correo.novusordo.net (cdjj.org [216.194.85.7]) by mx1.freebsd.org (Postfix) with ESMTP id D18BD13C4AD for ; Tue, 29 May 2007 16:31:48 +0000 (UTC) (envelope-from cdjones@novusordo.net) Received: from [192.168.2.100] (S01060004e29d3c67.ed.shawcable.net [68.148.229.10]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by correo.novusordo.net (Postfix) with ESMTP id E050C114F7; Tue, 29 May 2007 10:02:42 -0600 (MDT) In-Reply-To: <20070529074956.da0fbbdf.wmoran@collaborativefusion.com> References: <84ABEDBE-EB1F-4F5D-8BAC-6860A9CED184@novusordo.net> <20070529074956.da0fbbdf.wmoran@collaborativefusion.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <16D3D588-F221-4B28-A723-4C4320D191F7@novusordo.net> Content-Transfer-Encoding: 7bit From: Chris Jones Date: Tue, 29 May 2007 10:02:39 -0600 To: Bill Moran X-Mailer: Apple Mail (2.752.2) Cc: freebsd-jail@freebsd.org Subject: Re: Jail CPU/RAM Limits X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 16:31:49 -0000 On 29-May-07, at 5:49 AM, Bill Moran wrote: > In response to Chris Jones : > >> >> Hi, folks --- I did up some stuff to put (soft) limits in place for >> CPU and RAM usage in jails as part of last year's Summer of Code >> project, which was originally coded against 6.x. Over the past two >> weeks, I've updated it so that it's built against -CURRENT; I've >> tested it, and it seems to work, at least on my devel box. >> >> If you're interested in trying it out, please let me know and I'll >> package it up. > > Are these patches against the source, or is this something that could > be turned into a port? Hi, Bill --- they're patches to the kernel, mostly (there are some patches to the source jail and jls, plus a new application, jtune, as well), so producing a port is definitely not possible. Cheers, Chris