Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 2003 20:01:44 -0800
From:      Justin Burke <mlist-freebsd-questions@alt255.com>
To:        Lee Harr <missive@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Out of pty's
Message-ID:  <20031207040143.GA62068@alt255.com>
In-Reply-To: <BAY2-F28p9NBUL23sse0000aa7f@hotmail.com>
References:  <BAY2-F28p9NBUL23sse0000aa7f@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Lee Harr (missive@hotmail.com) wrote:
> >How do I find out the limit of ptys on my system? (sysctl doesn't
> >seem to show anything relevant.)
> >
> >How do I increase that value? The pseudo-pty value in the kernel config
> >has no assigned value (ie. we are using the default).... but what is the
> >default?
> >
> 
> Which version of FreeBSD?

4.9-PRERELEASE


> I had a similar problem on my 4.9-stable box. What I did was use
> /dev/MAKEDEV to create some more pty devices.
> 
> ls /dev/pty*
> 
> will show you how many you have, then
> 
> /dev/MAKEDEV pty1   (can also use pty2 pty3 pty4 etc)
> 
> will create more.

It seems that creating the devices isn't the problem. I just can't get
screen and ssh to actually use those ptys. I'm going just rebuild the
kernel with modification suggested in the FAQ.


Justin



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