From owner-freebsd-jail@FreeBSD.ORG Sun Jun 29 01:41:36 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77EF21065670 for ; Sun, 29 Jun 2008 01:41:36 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 4A4998FC17 for ; Sun, 29 Jun 2008 01:41:36 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so698892wah.3 for ; Sat, 28 Jun 2008 18:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1Q0xoDMTXn1H/AKCXP6gv//81+pICK2y8RmhgGp7VlY=; b=CR/eZAfAViXy7NvcpSzp5FEXjrFUQAUsfFTpx771HikqBkkdJtqY3mNX5HOYsCaDD8 3TKoQ2MacKTZpxgVgqatpmZymwyLHmljzO9wbFIK48trRXCuIbc5hMb7YyKceLZS9p49 yQ+Psuy/pmUS7vRUNUMw/GG+ST0zf8suQdMZk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uMdZTHDcJAIQEKyai98LX68SFRMdJh0X4RSq4LdPLezyImk+6+QAg0t6oe5cyH/8Ij b9DUB22V6J8KQ56PRt0fCVvOEJqFdMw7uB5eoqZgYezNTL1sNcQLo/juLuvSAfsm1YlV OF0lwvtNLn83DVV3TPAXnzu9Jg9JzgIIJcqDg= Received: by 10.114.125.2 with SMTP id x2mr2858238wac.59.1214703695666; Sat, 28 Jun 2008 18:41:35 -0700 (PDT) Received: by 10.114.67.7 with HTTP; Sat, 28 Jun 2008 18:41:35 -0700 (PDT) Message-ID: <6ae50c2d0806281841m5758f444vd657f3cc8e94c69d@mail.gmail.com> Date: Sat, 28 Jun 2008 21:41:35 -0400 From: alexus To: "Bjoern A. Zeeb" In-Reply-To: <20080623200215.J83875@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <78553FE8-BB3A-4AD5-9926-7B095260741D@verweg.com> <6ae50c2d0806211035y73e09f15xde28403b824eb421@mail.gmail.com> <6ae50c2d0806211037g31d8e9beqeea36b480ee62f3b@mail.gmail.com> <20080621212933.J83875@maildrop.int.zabbadoz.net> <6ae50c2d0806231257y48791f03r2b3518517f0af653@mail.gmail.com> <20080623200215.J83875@maildrop.int.zabbadoz.net> Cc: freebsd-jail@freebsd.org Subject: Re: new set of multi-IPv4/v6/noIP jail patches 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: Sun, 29 Jun 2008 01:41:36 -0000 when I tried your latest fixes, i got following -------------------------------------------------------------- >>> Installing everything -------------------------------------------------------------- cd /usr/src; /usr/obj/usr/src/make.i386/make -f Makefile.inc1 install ===> share/info (install) ===> lib (install) ===> lib/csu/i386-elf (install) cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/lib/csu/i386-elf/crt1.c cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/lib/csu/i386-elf/crti.S cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/lib/csu/i386-elf/crtn.S cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -DGCRT -c -o gcrt1.o /usr/src/lib/csu/i386-elf/crt1.c install -o root -g wheel -m 444 crt1.o crti.o crtn.o gcrt1.o /usr/lib ===> lib/libc (install) install -C -o root -g wheel -m 444 libc.a /usr/lib install: libc.a: No such file or directory *** Error code 71 Stop in /usr/src/lib/libc. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. (21:39:02 ) On Mon, Jun 23, 2008 at 7:13 PM, Bjoern A. Zeeb wrote: > On Mon, 23 Jun 2008, alexus wrote: > >> yeah, I dont have IPV6, and whatever you gave me isn't enough at least >> for me, i don't know how incorporate this code into patch, can you >> post a new patch with these fixes? > > Don't incorp it into the patch, edit the patched file and rebuild. > > you go to /usr/src/sys/kern (if your sources are in /usr/src) > vi kern_jail.c > go to the line from the error message and find the place where to add > the two lines I had marked with +. > > I'll not re-roll another 7.0R patch before I have done the HEAD to > RELENG_7 and then to 7.0-R chain entirely. It'll at least be another > day or two once the builds and the boots and everything was tested. > > /bz > > -- > Bjoern A. Zeeb Stop bit received. Insert coin for new game. > -- http://alexus.org/ From owner-freebsd-jail@FreeBSD.ORG Mon Jun 30 11:07:00 2008 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33AE31065727 for ; Mon, 30 Jun 2008 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 656CE8FC2E for ; Mon, 30 Jun 2008 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5UB6x0i095789 for ; Mon, 30 Jun 2008 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5UB6w3c095785 for freebsd-jail@FreeBSD.org; Mon, 30 Jun 2008 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Jun 2008 11:06:58 GMT Message-Id: <200806301106.m5UB6w3c095785@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org 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: Mon, 30 Jun 2008 11:07:01 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/89528 jail [jail] [patch] impossible to kill a jail o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail 2 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with o kern/68192 jail [quotas] [jail] Cannot use quotas on jailed systems o kern/72498 jail [libc] [jail] timestamp code on jailed SMP machine gen o kern/74314 jail [resolver] [jail] DNS resolver broken under certain ja o kern/84215 jail [jail] [patch] wildcard ip (INADDR_ANY) should not bin o kern/89989 jail [jail] [patch] Add option -I (ASCII 73) PID to specif o kern/97071 jail [jail] [patch] add security.jail.jid sysctl o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o kern/120753 jail [jail] Zombie jails (jailed child process exits while 9 problems total. From owner-freebsd-jail@FreeBSD.ORG Wed Jul 2 20:55:02 2008 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 211F01065670 for ; Wed, 2 Jul 2008 20:55:02 +0000 (UTC) (envelope-from lambert@lambertfam.org) Received: from sysmon.tcworks.net (sysmon.tcworks.net [65.66.76.4]) by mx1.freebsd.org (Postfix) with ESMTP id E181E8FC0C for ; Wed, 2 Jul 2008 20:55:01 +0000 (UTC) (envelope-from lambert@lambertfam.org) Received: from sysmon.tcworks.net (localhost [127.0.0.1]) by sysmon.tcworks.net (8.13.1/8.13.1) with ESMTP id m62KMZs3094370 for ; Wed, 2 Jul 2008 15:22:35 -0500 (CDT) (envelope-from lambert@lambertfam.org) Received: (from lambert@localhost) by sysmon.tcworks.net (8.13.1/8.13.1/Submit) id m62KMZMV094311 for freebsd-jail@FreeBSD.org; Wed, 2 Jul 2008 15:22:35 -0500 (CDT) (envelope-from lambert@lambertfam.org) X-Authentication-Warning: sysmon.tcworks.net: lambert set sender to lambert@lambertfam.org using -f Date: Wed, 2 Jul 2008 15:22:35 -0500 From: Scott Lambert To: freebsd-jail@FreeBSD.org Message-ID: <20080702202235.GA16820@sysmon.tcworks.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Cc: Subject: Migration of Jail from one host to another? 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: Wed, 02 Jul 2008 20:55:02 -0000 I'm probably doing this completely wrong. I setup a couple of jails using simple image files because I thought that would make migration to another server more straightforward. I am now trying to migrate my first jail. I am using the ezjail tools for creating and maintaining jails. The existing jail host is 6.2-STABLE FreeBSD 6.2-STABLE #1: Sun Mar 11 21:46:01 CDT 2007, ezjail-2.0.1. The new jail host is 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat May 10 06:29:00 CDT 2008, ezjail-2.1. I have created a test jail on the 7.0-STABLE box with ezjail-admin which works perfectly, using what I believe were the exact same parameters given, other than IP/hostname, when I created the 6.2-STABLE jail. # ezjail-admin create -i -s 1G test 192.168.8.237 I have moved over the fstab.migrate_jail file, and the /u/l/e/ezjail/migrate_jail config file for the 6.2-STABLE jail to the 7.0-STABLE box and created an empty directory beside the 7.0 test jail's empty directory. I shut down the jail on the 6.2-STABLE host and scp'd the image file to the 7.0-STABLE box. I put it beside the empty jail directory. I made sure the fstab.test and the fstab.migrate_jail look the same except for jail name changes. I made sure the /u/l/e/ezjail/test and /u/l/e/ezjail/migrate_jail files look the same except for jail name changes. # more /etc/fstab.test /home/ezjails/test.device /home/ezjails/test ufs rw 0 0 /home/ezjails/basejail /home/ezjails/test/basejail nullfs ro 0 0 # more /etc/fstab.migrate_jail /home/ezjails/migrate.jail.device /home/ezjails/migrate.jail ufs rw 0 0 /home/ezjails/basejail /home/ezjails/migrate.jail/basejail nullfs ro 0 0 # more test_tcworks_net export jail_test_hostname="test" export jail_test_ip="192.168.8.237" export jail_test_rootdir="/home/ezjails/test" export jail_test_exec="/bin/sh /etc/rc" export jail_test_mount_enable="YES" export jail_test_devfs_enable="YES" export jail_test_devfs_ruleset="devfsrules_jail" export jail_test_procfs_enable="YES" export jail_test_fdescfs_enable="YES" export jail_test_image="/home/ezjails/test.img" export jail_test_imagetype="simple" export jail_test_attachparams="" export jail_test_attachblocking="" export jail_test_forceblocking="" # more migrate_jail export jail_migrate_jail_hostname="migrate.jail" export jail_migrate_jail_ip="192.168.8.238" export jail_migrate_jail_rootdir="/home/ezjails/migrate.jail" export jail_migrate_jail_exec="/bin/sh /etc/rc" export jail_migrate_jail_mount_enable="YES" export jail_migrate_jail_devfs_enable="YES" export jail_migrate_jail_devfs_ruleset="devfsrules_jail" export jail_migrate_jail_procfs_enable="YES" export jail_migrate_jail_fdescfs_enable="YES" export jail_migrate_jail_image="/home/ezjails/migrate.jail.img" export jail_migrate_jail_imagetype="simple" export jail_migrate_jail_attachparams="" export jail_migrate_jail_attachblocking="" export jail_migrate_jail_forceblocking="" 14:35:33 Wed Jul 02 # egrep -v '^(#|$)' ../ezjail.conf ezjail_jaildir=/home/ezjails /usr/local/etc/rc.d/ezjail.sh start ezjailConfiguring jails:. Starting jails: testnetmount: /home/ezjails/migrate.jail.device : Operation not permitted df: /home/ezjails/migrate.jail/dev: No such file or directory mount: /home/ezjails/migrate.jail/dev: No such file or directory /etc/rc.d/jail: WARNING: devfs_domount(): Unable to mount devfs on /home/ezjails/migrate.jail/dev /etc/rc.d/jail: WARNING: devfs_mount_jail: devfs was not mounted on /home/ezjails/migrate.jail/dev cd: can't cd to /home/ezjails/migrate.jail/dev mount: /home/ezjails/migrate.jail/dev: No such file or directory cannot start jail "migrate_jail": jail: getpwnam: root: No such file or directory . # ls -la /home/ezjails/ total 2098282 drwxr-xr-x 9 root wheel 512 Jul 2 14:27 . drwxr-xr-x 3182 root wheel 58368 Jun 3 22:58 .. drwxr-xr-x 9 root wheel 512 Jun 4 00:40 basejail drwxr-xr-x 2 root wheel 512 Jun 3 22:58 ezjailtemp drwxr-xr-x 3 root wheel 512 Jun 4 00:41 flavours drwxr-xr-x 2 root wheel 512 Jul 1 16:54 fulljail lrwxr-xr-x 1 root wheel 14 Jul 2 13:45 log -> ../var/run/log drwxr-xr-x 12 root wheel 512 Jun 4 00:41 newjail drwxr-xr-x 2 root wheel 512 Jul 1 17:43 migrate.jail lrwxr-xr-x 1 root wheel 8 Jul 2 14:27 migrate.jail.device -> /dev/md9 -rw-r--r-- 1 root wheel 1073741824 Jul 1 17:02 migrate.jail.img drwxr-xr-x 13 root wheel 512 Jul 2 13:46 test lrwxr-xr-x 1 root wheel 8 Jul 2 14:27 test.device -> /dev/md8 -rw-r--r-- 1 root wheel 1073741824 Jul 2 14:28 test.img # ls -la /home/ezjails/migrate.jail total 4 drwxr-xr-x 2 root wheel 512 Jul 1 17:43 . drwxr-xr-x 9 root wheel 512 Jul 2 14:27 .. # ls -la /home/ezjails/test total 31 drwxr-xr-x 13 root wheel 512 Jul 2 13:46 . drwxr-xr-x 9 root wheel 512 Jul 2 14:27 .. drwxrwxr-x 2 root operator 512 Jul 2 13:46 .snap -r--r--r-- 1 root wheel 6188 Jul 2 13:46 COPYRIGHT drwxr-xr-x 9 root wheel 512 Jun 4 00:40 basejail lrwxrwxrwx 1 root wheel 13 Jul 2 13:46 bin -> /basejail/bin lrwxrwxrwx 1 root wheel 14 Jul 2 13:46 boot -> /basejail/boot dr-xr-xr-x 5 root wheel 512 Jul 2 14:27 dev drwxr-xr-x 20 root wheel 2048 Jul 2 13:50 etc lrwxrwxrwx 1 root wheel 13 Jul 2 13:46 lib -> /basejail/lib lrwxrwxrwx 1 root wheel 17 Jul 2 13:46 libexec -> /basejail/libexec drwxr-xr-x 2 root wheel 512 Jul 2 13:46 media drwxr-xr-x 2 root wheel 512 Jul 2 13:46 mnt dr-xr-xr-x 1 root wheel 0 Jul 2 14:31 proc lrwxrwxrwx 1 root wheel 16 Jul 2 13:46 rescue -> /basejail/rescue drwxr-xr-x 2 root wheel 512 Jul 2 13:46 root lrwxrwxrwx 1 root wheel 14 Jul 2 13:46 sbin -> /basejail/sbin lrwxrwxrwx 1 root wheel 11 Jul 2 13:46 sys -> usr/src/sys drwxrwxrwt 6 root wheel 512 Jul 2 14:27 tmp drwxr-xr-x 4 root wheel 512 Jul 2 13:46 usr drwxr-xr-x 22 root wheel 512 Jul 2 14:27 var # /usr/local/etc/rc.d/ezjail.sh stop rcorder: could not open log: No such file or directory ezjailStopping jails: test.tcworks.net. The log symlink exists in the /u/l/e/ezjails directory on the 6.2-STABLE host also, but I don't remember it messing with rcorder. I can't just run an ezjail.sh stop command on that host to test as I have other production jails there. I don't think it has anything to do with my problem, but... # ls -la /home/ezjails/ total 2098282 drwxr-xr-x 9 root wheel 512 Jul 2 14:32 . drwxr-xr-x 3182 root wheel 58368 Jun 3 22:58 .. drwxr-xr-x 9 root wheel 512 Jun 4 00:40 basejail drwxr-xr-x 2 root wheel 512 Jun 3 22:58 ezjailtemp drwxr-xr-x 3 root wheel 512 Jun 4 00:41 flavours drwxr-xr-x 2 root wheel 512 Jul 1 16:54 fulljail lrwxr-xr-x 1 root wheel 14 Jul 2 13:45 log -> ../var/run/log drwxr-xr-x 12 root wheel 512 Jun 4 00:41 newjail drwxr-xr-x 2 root wheel 512 Jul 1 17:43 migrate.jail lrwxr-xr-x 1 root wheel 8 Jul 2 14:27 migrate.jail.device -> /dev/md9 -rw-r--r-- 1 root wheel 1073741824 Jul 1 17:02 migrate.jail.img drwxr-xr-x 2 root wheel 512 Jul 2 13:46 test -rw-r--r-- 1 root wheel 1073741824 Jul 2 14:32 test.img I'm obviously missing something obvious here. A clue-by-four to the head would be much appreciated. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org From owner-freebsd-jail@FreeBSD.ORG Thu Jul 3 10:01:31 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E36EF1065677 for ; Thu, 3 Jul 2008 10:01:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9BF9D8FC0C for ; Thu, 3 Jul 2008 10:01:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id D53F919E019; Thu, 3 Jul 2008 12:01:29 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 605AA19E023; Thu, 3 Jul 2008 12:01:27 +0200 (CEST) Message-ID: <486CA390.9020109@quip.cz> Date: Thu, 03 Jul 2008 12:01:52 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Christopher Thunes References: <48616B3F.4030705@brewtab.com> In-Reply-To: <48616B3F.4030705@brewtab.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: Memory limits on 7.0 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: Thu, 03 Jul 2008 10:01:32 -0000 Christopher Thunes wrote: > Hey everyone, > I spent some time working on getting cdjones' memory limit patches > updated for 7.0 and beyond and thought I'd post my progress. I've > attached my current patch which implements memory limits on 7.0-RELEASE, > but only for the older (and default in -RELEASE) bsd4 scheduler (won't > work at all on ULE). I haven't yet started work for ULE or getting CPU > sharing working. This patch also includes fixes for problems in the > original cdjones patches. If you want to give it a whirl it should apply > cleanly to a 7.0-RELEASE source tree and if you run into any issues let > me know. Thanx for you work, I put it on Jails wiki! I hope I'll give it a try in next week after I setup new testing machine with ZFS, 4GB of RAM and lot of jails for testing :) Do you plan to work on ULE version? (AFAIK ULE will be default for next release) Miroslav Lachman From owner-freebsd-jail@FreeBSD.ORG Thu Jul 3 13:18:28 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75AFA1065679 for ; Thu, 3 Jul 2008 13:18:28 +0000 (UTC) (envelope-from c2thunes@brewtab.com) Received: from mail.brewtab.com (dauphin.brewtab.com [208.86.224.67]) by mx1.freebsd.org (Postfix) with ESMTP id 4A4428FC29 for ; Thu, 3 Jul 2008 13:18:28 +0000 (UTC) (envelope-from c2thunes@brewtab.com) Received: from [192.168.16.16] (cpe-075-182-109-034.nc.res.rr.com [75.182.109.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.brewtab.com (Postfix) with ESMTPSA id A18D36B31; Thu, 3 Jul 2008 09:18:27 -0400 (EDT) Message-ID: <486CD19B.9070909@brewtab.com> Date: Thu, 03 Jul 2008 09:18:19 -0400 From: Christopher Thunes User-Agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509) MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz> References: <48616B3F.4030705@brewtab.com> <486CA390.9020109@quip.cz> In-Reply-To: <486CA390.9020109@quip.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: Memory limits on 7.0 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: Thu, 03 Jul 2008 13:18:28 -0000 Yes, my plan is to get everything working on both schedulers, but at this point I'm not sure what kind of time frame I'm looking at. At the moment I'm getting everything up to date on the 4bsd scheduler so once I finish that up I'll begin working on ULE. - Chris Miroslav Lachman wrote: > Christopher Thunes wrote: >> Hey everyone, >> I spent some time working on getting cdjones' memory limit patches >> updated for 7.0 and beyond and thought I'd post my progress. I've >> attached my current patch which implements memory limits on >> 7.0-RELEASE, but only for the older (and default in -RELEASE) bsd4 >> scheduler (won't work at all on ULE). I haven't yet started work for >> ULE or getting CPU sharing working. This patch also includes fixes for >> problems in the original cdjones patches. If you want to give it a >> whirl it should apply cleanly to a 7.0-RELEASE source tree and if you >> run into any issues let me know. > > Thanx for you work, I put it on Jails wiki! I hope I'll give it a try in > next week after I setup new testing machine with ZFS, 4GB of RAM and lot > of jails for testing :) > > Do you plan to work on ULE version? (AFAIK ULE will be default for next > release) > > Miroslav Lachman