From owner-freebsd-virtualization@freebsd.org Tue Feb 23 11:42:41 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CA3CAB1439; Tue, 23 Feb 2016 11:42:41 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E6B4DF03; Tue, 23 Feb 2016 11:42:40 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id C499125D37C2; Tue, 23 Feb 2016 11:42:38 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 04B89C77037; Tue, 23 Feb 2016 11:42:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id yoPKKbXOYK9q; Tue, 23 Feb 2016 11:42:36 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6] (orange-tun0-ula.sbone.de [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 36BF3C77007; Tue, 23 Feb 2016 11:42:36 +0000 (UTC) Subject: Re: (VNET) jails not going away Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: text/plain; charset=utf-8 From: "Bjoern A. Zeeb" In-Reply-To: Date: Tue, 23 Feb 2016 11:42:34 +0000 Cc: freebsd-jail@freebsd.org Reply-To: bz@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: freebsd-virtualization@freebsd.org X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 23 Feb 2016 11:42:41 -0000 Hi, sorry for the cross-post, Reply-To: set. > On 22 Feb 2016, at 13:41 , Bjoern A. Zeeb = wrote: >=20 > Hi, >=20 > has anyone else experienced VNET jails to not fully go away anymore on = a recent HEAD kernel (or possibly an older kernel)? >=20 > I have test cases with which I can have them in DYING state (see jls = -av) for ever or at least more than half a day. I am in the process of = trying to find the cause but would be good to know if anyone else is = experiencing this? Ok, I found more funny behaviour that I can get rid of the previous jail = by cleaning up the next one. root@rabbit4:/home/test # jail -i -c -n test19 host.hostname=3Dfoo vnet = persist 19 root@rabbit4:/home/test # jexec 19 /bin/csh root@foo:/ # ifconfig lo0 inet 127.19/8 root@foo:/ # exit root@rabbit4:/home/test # jail -r 19 Jail 19 is in DYING and hangs there forever; If I repeat this upon exit = from jail 20, jail 19 will go away. If I=E2=80=99ll just do this root@rabbit4:/home/test # jail -i -c -n test20 host.hostname=3Dfoo vnet = persist 21 root@rabbit4:/home/test # jail -r 21 20 and 21 are going. I=E2=80=99ll keep tracing this but if it ring a bell for anyone please = let me know ;-) > Thanks, > Bjoern >=20 > Example (after more than 12 hours of jail -r ..): >=20 > # jls -av > JID Hostname Path > Name State > CPUSetID > IP Address(es) > 1 left.example.net / > lef827 DYING > 18 > 2 center.example.net / > mid827 DYING > 19 > 3 right.example.net / > right827 DYING > 20 > 6 right.example.net / > right923 DYING > 23 =E2=80=94=20 Bjoern A. Zeeb Charles Haddon Spurgeon: "Friendship is one of the sweetest joys of life. Many might have failed beneath the bitterness of their trial had they not found a friend."