From owner-freebsd-virtualization@freebsd.org Wed Feb 24 02:32:30 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 C9CA7AB2873 for ; Wed, 24 Feb 2016 02:32:30 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C3BD9B1 for ; Wed, 24 Feb 2016 02:32:29 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from julian-mbp3.pixel8networks.com (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u1O2WR0t011060 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 23 Feb 2016 18:32:28 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: (VNET) jails not going away To: freebsd-virtualization@freebsd.org References: From: Julian Elischer Message-ID: <56CD1636.3040201@freebsd.org> Date: Tue, 23 Feb 2016 18:32:22 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: Wed, 24 Feb 2016 02:32:30 -0000 On 23/02/2016 3:42 AM, Bjoern A. Zeeb wrote: > Hi, > > sorry for the cross-post, Reply-To: set. > > >> On 22 Feb 2016, at 13:41 , Bjoern A. Zeeb wrote: >> >> Hi, >> >> has anyone else experienced VNET jails to not fully go away anymore on a recent HEAD kernel (or possibly an older kernel)? >> >> 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=foo 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’ll just do this > > root@rabbit4:/home/test # jail -i -c -n test20 host.hostname=foo vnet persist > 21 > root@rabbit4:/home/test # jail -r 21 > > 20 and 21 are going. > > > I’ll keep tracing this but if it ring a bell for anyone please let me know ;-) definitely no bell. > > > >> Thanks, >> Bjoern >> >> Example (after more than 12 hours of jail -r ..): >> >> # 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 > > > — > 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." > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > >