From owner-freebsd-questions@FreeBSD.ORG Fri Jul 18 04:14:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A7591065681 for ; Fri, 18 Jul 2008 04:14:20 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57015.mail.re3.yahoo.com (web57015.mail.re3.yahoo.com [66.196.97.119]) by mx1.freebsd.org (Postfix) with SMTP id C28D08FC0A for ; Fri, 18 Jul 2008 04:14:19 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 60645 invoked by uid 60001); 18 Jul 2008 04:14:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=KW0W+UprJNCmE6KN9vbWBSTmxW4/AuV9ZLAWYd3gbEzuqG6G5uDonLBQRLz6Bjxk1QEC6KHFdm7h70vYT975RZ5OxR5zxepIMWKn68bv3GILhPMdqpzhoeNZjAdWhHfbkWrEVSirAuTKXA+x/FXZd4Uy4gRQjhjBBjvw2Y02I6E=; Received: from [220.255.7.239] by web57015.mail.re3.yahoo.com via HTTP; Thu, 17 Jul 2008 21:14:18 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Thu, 17 Jul 2008 21:14:18 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <962284.60629.qm@web57015.mail.re3.yahoo.com> Subject: pseudoterminals question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: unga888@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2008 04:14:20 -0000 Hi I'm experiencing "The system has no more ptys. Ask your system administrator to create more.". Well, I'm the system administrator, don't know what to do :) I want to understand more about ptys in FreeBSD. I have following questions. ls -l /dev/ | grep pty crw-rw-rw- 1 root wheel 0, 169 Jul 18 10:34 ptyp0 crw-rw-rw- 1 root wheel 0, 171 Jul 18 11:21 ptyp1 crw-rw-rw- 1 root wheel 0, 178 Jul 18 11:13 ptyp2 crw-rw-rw- 1 root wheel 0, 180 Jul 18 10:34 ptyp3 crw-rw-rw- 1 root wheel 0, 182 Jul 18 11:19 ptyp4 1) That is, I have only 5 ptys, am I right? 2) As per FAQ, http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html: "10.19.1 Build and install a new kernel with the line in the configuration file: device pty N where N is the number of requested pseudoterminals." I'm using FreeBSD 7.0, its GENERIC file has only "device pty", no N. What is the default for N, is it 5? 3) Is there a way to increase the number of ptys without rebuild the kernel? Appreciate your reply. Kind regards Unga