How to enable more than 256 pty's?
Ed Schouten
ed at fxq.nl
Tue Oct 2 05:57:05 PDT 2007
* Vlad GALU <dudu at dudu.ro> wrote:
> On 10/2/07, Dag-Erling Smørgrav <des at des.no> wrote:
> > "Vlad GALU" <dudu at 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.
>
> 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).
--
Ed Schouten <ed at fxq.nl>
WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20071002/c6c7f16d/attachment.pgp
More information about the freebsd-stable
mailing list