How to enable more than 256 pty's?

Vlad GALU dudu at dudu.ro
Tue Oct 2 05:56:35 PDT 2007


On 10/2/07, 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.
> >

    However, I see that, if I use pts/0-7, for instance, then log off
pts/7, the next assigned pts will be pts/8. Is this expected? I tried
lowering kern.pts.max to 20. If I open 20 of them and close them
afterwards, on the next try I get "no more ptys" from my screen.


> > DES
> > --
> > Dag-Erling Smørgrav - des at des.no
> >
>
>
> --
> If it's there, and you can see it, it's real.
> If it's not there, and you can see it, it's virtual.
> If it's there, and you can't see it, it's transparent.
> If it's not there, and you can't see it, you erased it.
>


-- 
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.


More information about the freebsd-hackers mailing list