From owner-freebsd-questions Tue Feb 2 00:25:29 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA06090 for freebsd-questions-outgoing; Tue, 2 Feb 1999 00:25:29 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA06081 for ; Tue, 2 Feb 1999 00:25:24 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id SAA22550; Tue, 2 Feb 1999 18:55:20 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id SAA01829; Tue, 2 Feb 1999 18:55:20 +1030 (CST) Date: Tue, 2 Feb 1999 18:55:20 +1030 From: Greg Lehey To: Gregory Sutter Cc: "Brian W. Buchanan" , questions@FreeBSD.ORG Subject: Re: Increasing the pty limit Message-ID: <19990202185520.B76680@freebie.lemis.com> References: <19990201183647.X8473@freebie.lemis.com> <19990201235449.C26754@orcrist.mediacity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990201235449.C26754@orcrist.mediacity.com>; from Gregory Sutter on Mon, Feb 01, 1999 at 11:54:49PM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 1 February 1999 at 23:54:49 -0800, Gregory Sutter wrote: > On Mon, Feb 01, 1999 at 06:36:48PM +1030, Greg Lehey wrote: >> On Sunday, 31 January 1999 at 22:24:45 -0800, Brian W. Buchanan wrote: >>> I like to open lots of xterms, but I've found that once I have 16 ptys in >>> use, I can't spawn any more. I've rebuilt my kernel with: >>> >>> pseudo-device pty 32 >>> >>> And I know I have enough pty device entries in /dev, but I still run into >>> the 16-pty limit. >> >> How do you know you're running into the 16 pty limit? What's the >> message? What are the names of your second group of 16 ptys? > > Actually, they seem to be allocated in groups of 32, not 16. From > /dev/MAKEDEV: [1] > > pty*) > > We're talking about two different things here. One is how many are built in the kernel, which is defined in /sys/i386/conf/MYCONFFILE, and defaults to 16 in GENERIC: pseudo-device pty 16 #Pseudo ttys - can go as high as 256 The other is this horrible stuff in /dev/MAKEDEV. > [1] The MAKEDEV man page specifies groups of 16. Odd. Not updated > perhaps. docs/9879. Right. If we can't get rid of MAKEDEV, the man page needs adding about 10 times its current volume. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message