From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 25 15:11:00 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF27C16A426 for ; Fri, 25 Nov 2005 15:10:59 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB90D43DC0 for ; Fri, 25 Nov 2005 15:10:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAPFA7YN087595 for ; Fri, 25 Nov 2005 15:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAPFA7Br087594; Fri, 25 Nov 2005 15:10:07 GMT (envelope-from gnats) Date: Fri, 25 Nov 2005 15:10:07 GMT Message-Id: <200511251510.jAPFA7Br087594@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Maxim Konovalov Cc: Subject: Re: misc/89528: impossible to kill a jail X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maxim Konovalov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2005 15:11:00 -0000 The following reply was made to PR misc/89528; it has been noted by GNATS. From: Maxim Konovalov To: "Bjoern A. Zeeb" Cc: bug-followup@freebsd.org Subject: Re: misc/89528: impossible to kill a jail Date: Fri, 25 Nov 2005 18:01:59 +0300 (MSK) On Fri, 25 Nov 2005, 14:20-0000, Bjoern A. Zeeb wrote: > On Fri, 25 Nov 2005, Bjoern A. Zeeb wrote: > > > The following reply was made to PR misc/89528; it has been noted by GNATS. > > > > From: "Bjoern A. Zeeb" > > To: Philippe Lang > > Cc: freebsd-gnats-submit@FreeBSD.org > > Subject: Re: misc/89528: impossible to kill a jail > > Date: Fri, 25 Nov 2005 13:47:21 +0000 (UTC) > > > > On Fri, 25 Nov 2005, Philippe Lang wrote: > > > > > /etc/rc.d/jail stop > > > > > > .. apprently leave something in the jail system. > > > > > > jls > > > > > > .. mentions about old jails still running in the system. > > > > How-To-Repeat: > > > Create a few jails, start them, stop and restart them. Sometimes, jails > > > are not killed. I tried to kill network sockets remaining in the system, > > > but a reboot is the only way of getting rid of old jail ids. > > > > I guess looking at netstat there are some connections still hanging > > around and if you just wait long enough you won't see the jail anymore > > in jls and you won't see the finishing connections in netstat - right? > > ok after another round of private mail exchange I have reprodcued it. > I am running with pjd@s latest multi-IP jail patch and I can see the > same problem. No open or closing sockets in netstat. I'm sure this is just another leaked reference in the (socket?) code somewhere. Try to run vmstat -z before you create a jail and after you kill it. -- Maxim Konovalov