Date: Tue, 2 Feb 1999 18:55:20 +1030 From: Greg Lehey <grog@lemis.com> To: Gregory Sutter <gsutter@pobox.com> Cc: "Brian W. Buchanan" <brian@CSUA.Berkeley.EDU>, questions@FreeBSD.ORG Subject: Re: Increasing the pty limit Message-ID: <19990202185520.B76680@freebie.lemis.com> In-Reply-To: <19990201235449.C26754@orcrist.mediacity.com>; from Gregory Sutter on Mon, Feb 01, 1999 at 11:54:49PM -0800 References: <Pine.BSF.4.05.9901312211590.480-100000@smarter.than.nu> <19990201183647.X8473@freebie.lemis.com> <19990201235449.C26754@orcrist.mediacity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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*) > > <snip> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990202185520.B76680>