misc/89528: impossible to kill a jail

Maxim Konovalov maxim at macomnet.ru
Fri Nov 25 15:11:00 GMT 2005


The following reply was made to PR misc/89528; it has been noted by GNATS.

From: Maxim Konovalov <maxim at macomnet.ru>
To: "Bjoern A. Zeeb" <bzeeb-lists at lists.zabbadoz.net>
Cc: bug-followup at 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" <bzeeb-lists at lists.zabbadoz.net>
 > > To: Philippe Lang <philippe.lang at attiksystem.ch>
 > > Cc: freebsd-gnats-submit at 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 at 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


More information about the freebsd-bugs mailing list