From owner-freebsd-questions@FreeBSD.ORG Thu Dec 4 15:26:06 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 F19A516A4CE for ; Thu, 4 Dec 2003 15:26:06 -0800 (PST) Received: from hotmail.com (bay2-f28.bay2.hotmail.com [65.54.247.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 445A343F75 for ; Thu, 4 Dec 2003 15:26:06 -0800 (PST) (envelope-from missive@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 4 Dec 2003 15:26:06 -0800 Received: from 208.186.59.185 by by2fd.bay2.hotmail.msn.com with HTTP; Thu, 04 Dec 2003 23:26:00 GMT X-Originating-IP: [208.186.59.185] X-Originating-Email: [missive@hotmail.com] X-Sender: missive@hotmail.com From: "Lee Harr" To: freebsd-questions@freebsd.org Date: Thu, 04 Dec 2003 23:26:00 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Dec 2003 23:26:06.0137 (UTC) FILETIME=[FD83E290:01C3BABD] Subject: 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: Thu, 04 Dec 2003 23:26:07 -0000 >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