Date: Wed, 21 Feb 2007 22:36:19 +0100 From: Ed Schouten <ed@fxq.nl> To: Josef Karthauser <joe@tao.org.uk> Cc: current@freebsd.org Subject: Re: Zombie Jails - why don't they disappear? Message-ID: <20070221213619.GB834@hoeg.nl> In-Reply-To: <20070221171816.GB2202@genius.tao.org.uk> References: <20070221171816.GB2202@genius.tao.org.uk>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] * Josef Karthauser <joe@tao.org.uk> wrote: > Any ideas why they are still hanging around in the jail list? The problem is quite complex: - pty's aren't deallocated in the kernel anymore - because pty device nodes cannot be deallocated before it has no process groups bound to it, pty's wouldn't even be deallocated in a lot of situations (kill sshd). The easiest fix would be to replace the make_dev_cred() call in tty_pty.c with make_dev(). This should at least solve the jail leak. -- Ed Schouten <ed@fxq.nl> WWW: http://g-rave.nl/ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF3LtT52SDGA2eCwURAt6GAJ9fwh/eh7/UXw/t6pwCK09JujgnpQCeOESH NE3mnKsoqspCQn86+YxNFPo= =701o -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070221213619.GB834>
