Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Dec 2003 23:26:00 +0000
From:      "Lee Harr" <missive@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Out of pty's
Message-ID:  <BAY2-F28p9NBUL23sse0000aa7f@hotmail.com>

next in thread | raw e-mail | index | archive | help
>Looks like my system is running out of free pty's. There are a bunch of
>users on the system running screen, so we are using up a ton of the
>ptys.
>
>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?

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.

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus



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