Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2007 14:57:02 +0200
From:      Ed Schouten <ed@fxq.nl>
To:        Vlad GALU <dudu@dudu.ro>
Cc:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>, gepu@flow.rdsnet.ro, Steven Hartland <killing@multiplay.co.uk>, freebsd-stable@freebsd.org, FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: How to enable more than 256 pty's?
Message-ID:  <20071002125702.GQ12364@hoeg.nl>
In-Reply-To: <ad79ad6b0710020541n22dbdfabgb13cd84eca8d8011@mail.gmail.com>
References:  <001f01c80407$1358d490$b6db87d4@multiplay.co.uk> <00ab01c8040c$7c408160$b6db87d4@multiplay.co.uk> <012101c804e5$efa7e9c0$b6db87d4@multiplay.co.uk> <86abr1yb68.fsf@ds4.des.no> <ad79ad6b0710020514n41d70cd9k6f16164899a7290c@mail.gmail.com> <86641pyanc.fsf@ds4.des.no> <ad79ad6b0710020519o30ee6478j38c0229a9746d10@mail.gmail.com> <ad79ad6b0710020537j28827d5ex19113dd395b4cc73@mail.gmail.com> <86wsu5wuz3.fsf@ds4.des.no> <ad79ad6b0710020541n22dbdfabgb13cd84eca8d8011@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--kkcDP0v44wDpNmbp
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Vlad GALU <dudu@dudu.ro> wrote:
> On 10/2/07, Dag-Erling Sm=F8rgrav <des@des.no> wrote:
> > "Vlad GALU" <dudu@dudu.ro> writes:
> > > The symptoms were exhibited even with rev. 1.16. I've CC'ed him so
> > > he can catch up with the thread.
> >
> > Which symptoms?  I can no longer reproduce the hang-on-close bug.
>=20
>    Strangely enough, me neither. In his case, allocated pts' wouldn't
> get deallocated once the sessions ended.

This is a known issue IIRC. See line 245 of tty_pts.c 1.16. Can be
easily reproduced by killing the sshd while apps are still running in
the shell.

I thought we weren't able to destroy the device there, because you can't
destroy a TTY when it is used by an application (i.e. when it's the
controlling terminal).

--=20
 Ed Schouten <ed@fxq.nl>
 WWW: http://g-rave.nl/

--kkcDP0v44wDpNmbp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHAkAe52SDGA2eCwURAhalAJ0ajoMl6IaEP1+71iPYXuAC7hsnBQCfVlwN
CJwNl5i3+BsJ9BIP8KeLDaw=
=5tlY
-----END PGP SIGNATURE-----

--kkcDP0v44wDpNmbp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071002125702.GQ12364>