From owner-freebsd-questions@FreeBSD.ORG Sat Dec 6 20:01:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A8A616A4CE for ; Sat, 6 Dec 2003 20:01:48 -0800 (PST) Received: from invert.com (srv01.datacenterops.com [209.164.15.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29A6643FB1 for ; Sat, 6 Dec 2003 20:01:45 -0800 (PST) (envelope-from mlist-freebsd-questions@alt255.com) Received: from invert.com (localhost [127.0.0.1]) by invert.com (8.12.9/8.12.9) with ESMTP id hB741irV096251; Sat, 6 Dec 2003 20:01:44 -0800 (PST) (envelope-from mlist-freebsd-questions@alt255.com) Received: (from jburke@localhost) by invert.com (8.12.9/8.12.9/Submit) id hB741ifB096250; Sat, 6 Dec 2003 20:01:44 -0800 (PST) (envelope-from mlist-freebsd-questions@alt255.com) X-Authentication-Warning: invert.com: jburke set sender to mlist-freebsd-questions@alt255.com using -f Date: Sat, 6 Dec 2003 20:01:44 -0800 From: Justin Burke To: Lee Harr Message-ID: <20031207040143.GA62068@alt255.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: Out of pty's X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2003 04:01:48 -0000 X-List-Received-Date: Sun, 07 Dec 2003 04:01:48 -0000 * 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