From muir@idiom.com  Sat Jan 14 05:09:29 1995
Received: from idiom.com (idiom.com [140.174.82.4]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id FAA02728 for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Jan 1995 05:09:25 -0800
Received: (from muir@localhost) by idiom.com (8.6.9/8.6.9) id FAA24670; Sat, 14 Jan 1995 05:09:23 -0800
Message-Id: <199501141309.FAA24670@idiom.com>
Date: Sat, 14 Jan 1995 05:09:23 -0800
From: David Muir Sharnoff <muir@idiom.com>
Reply-To: muir@idiom.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: not enough ptys; virtual console names conflict with ptys.
X-Send-Pr-Version: 3.2

>Number:         135
>Category:       bin
>Synopsis:       not enough ptys; virtual console names conflict with ptys.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 14 05:10:00 1995
>Closed-Date:    Sat Oct 28 15:58:17 PDT 1995
>Last-Modified:  Sat Oct 28 15:59:26 PDT 1995
>Originator:     David Muir Sharnoff
>Release:        FreeBSD 2.0-RELEASE i386
>Organization:
Idiom Consulting
>Environment:

>Description:

	The default number of ptys is too small.  I run out just
	starting X.

	MAKEDEV will make ptys [p-w].  Unfortunantly, that includes
	the set ttyv*.  ttyv* is used for virtual consoles.

	The openpty routine which is used by at least rlogind, only
	looks for tty[pqrs][0-9a-f]s.

	These all need to be resolved against each other and in such
	a way that there are lots of ptys.  LOTS.  256 is a good 
	number.  128 probably isn't enough for an ISV.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pst 
State-Changed-When: Sat Oct 28 15:58:17 PDT 1995 
State-Changed-Why:  
This was fixed, we now use ptys in the range [pqrsPQRS] and there 
is a total of 256 pty/ttyp pairs available. 
>Unformatted:


