RE: jls shows dead jails too?
Hi, I mentioned this bug a few months ago, and it is listed in the open bug reports, here: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/89528 But except that, jails run like a charm. I'm running a production server with about 15 jails for the moment, and no problem. Cheers, Philippe Lang -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Marc G. Fournier Envoyé : mardi, 4. avril 2006 21:22 À : Chad Leigh -- Shire.Net LLC Cc : freebsd-questions@freebsd.org; Daniel Johansson Objet : Re: jls shows dead jails too? On Tue, 4 Apr 2006, Chad Leigh -- Shire.Net LLC wrote: > > On Apr 4, 2006, at 9:20 AM, Daniel Johansson wrote: > >> I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls >> to list my jails it shows all my started jails. >> >> The problem is that when I kill a jail with kill -TERM -1, thats what >> the man page tells me to use, it still is listed when I run jls. Why >> is that and is there any way to clear the jls list? Where does jls >> get the list of the jails? >> > > The jail is not completely did in that case. It still "owns" some > resources of some sort. Is there some way of finding out what resources? Right now, on one of my boxes: # jls JID IP Address Hostname Path 4 200.46.204.254 mx2.hub.org /vm/1/mx2.hub.org 2 200.46.204.254 mx2.hub.org /vm/1/mx2.hub.org 1 200.46.204.254 mx2.hub.org /vm/1/mx2.hub.org It doesn't bother me too much, as 1/2 doesn't appear to be affecting 4, but still ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" smime.p7s Description: S/MIME cryptographic signature
Re: jls shows dead jails too?
On Apr 4, 2006, at 2:03 PM, Kris Kennaway wrote: On Tue, Apr 04, 2006 at 04:21:39PM -0300, Marc G. Fournier wrote: On Tue, 4 Apr 2006, Chad Leigh -- Shire.Net LLC wrote: On Apr 4, 2006, at 9:20 AM, Daniel Johansson wrote: I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to list my jails it shows all my started jails. The problem is that when I kill a jail with kill -TERM -1, thats what the man page tells me to use, it still is listed when I run jls. Why is that and is there any way to clear the jls list? Where does jls get the list of the jails? The jail is not completely did in that case. It still "owns" some resources of some sort. Is there some way of finding out what resources? Right now, on one of my boxes: # jls JID IP Address Hostname Path 4 200.46.204.254 mx2.hub.org /vm/1/ mx2.hub.org 2 200.46.204.254 mx2.hub.org /vm/1/ mx2.hub.org 1 200.46.204.254 mx2.hub.org /vm/1/ mx2.hub.org It doesn't bother me too much, as 1/2 doesn't appear to be affecting 4, but still ... See my reply. Other things that I have seen are if you have a FS mounted inside your jail and that did not umount completely or appropriately, for example. For example, I use file backed md devices as jail file systems and I mount various pieces of a master jail inside my jail. If I do not umount everything cleanly before shutting the jail down it remains listed in the jls list Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: jls shows dead jails too?
On Tue, Apr 04, 2006 at 04:21:39PM -0300, Marc G. Fournier wrote: > On Tue, 4 Apr 2006, Chad Leigh -- Shire.Net LLC wrote: > > > > >On Apr 4, 2006, at 9:20 AM, Daniel Johansson wrote: > > > >>I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to > >>list my jails it shows all my started jails. > >> > >>The problem is that when I kill a jail with kill -TERM -1, thats what the > >>man page tells me to use, it still is listed when I run jls. Why is that > >>and is there any way to clear the jls list? Where does jls get the list > >>of the jails? > >> > > > >The jail is not completely did in that case. It still "owns" some > >resources of some sort. > > Is there some way of finding out what resources? Right now, on one of my > boxes: > > # jls >JID IP Address Hostname Path > 4 200.46.204.254 mx2.hub.org /vm/1/mx2.hub.org > 2 200.46.204.254 mx2.hub.org /vm/1/mx2.hub.org > 1 200.46.204.254 mx2.hub.org /vm/1/mx2.hub.org > > It doesn't bother me too much, as 1/2 doesn't appear to be affecting 4, > but still ... See my reply. Kris pgpuJBEOJ5cop.pgp Description: PGP signature
Re: jls shows dead jails too?
On Tue, 4 Apr 2006, Chad Leigh -- Shire.Net LLC wrote: On Apr 4, 2006, at 9:20 AM, Daniel Johansson wrote: I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to list my jails it shows all my started jails. The problem is that when I kill a jail with kill -TERM -1, thats what the man page tells me to use, it still is listed when I run jls. Why is that and is there any way to clear the jls list? Where does jls get the list of the jails? The jail is not completely did in that case. It still "owns" some resources of some sort. Is there some way of finding out what resources? Right now, on one of my boxes: # jls JID IP Address Hostname Path 4 200.46.204.254 mx2.hub.org /vm/1/mx2.hub.org 2 200.46.204.254 mx2.hub.org /vm/1/mx2.hub.org 1 200.46.204.254 mx2.hub.org /vm/1/mx2.hub.org It doesn't bother me too much, as 1/2 doesn't appear to be affecting 4, but still ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: jls shows dead jails too?
On Apr 4, 2006, at 9:20 AM, Daniel Johansson wrote: I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to list my jails it shows all my started jails. The problem is that when I kill a jail with kill -TERM -1, thats what the man page tells me to use, it still is listed when I run jls. Why is that and is there any way to clear the jls list? Where does jls get the list of the jails? The jail is not completely did in that case. It still "owns" some resources of some sort. Chad Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: jls shows dead jails too?
On Tue, Apr 04, 2006 at 05:20:18PM +0200, Daniel Johansson wrote: > I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to > list my jails it shows all my started jails. > > The problem is that when I kill a jail with kill -TERM -1, thats what > the man page tells me to use, it still is listed when I run jls. Why is > that and is there any way to clear the jls list? Where does jls get the > list of the jails? Either a process in the jail is still running, or it leaked resources while it was running (e.g. ptys - this is a known bug on everything prior to 7.0). Kris pgpqj5Zrmtu8c.pgp Description: PGP signature
jls shows dead jails too?
I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to list my jails it shows all my started jails. The problem is that when I kill a jail with kill -TERM -1, thats what the man page tells me to use, it still is listed when I run jls. Why is that and is there any way to clear the jls list? Where does jls get the list of the jails? If you replay to this please CC it to me as I am not subscribed to this list. -- Daniel Johansson - <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature