From owner-freebsd-questions Fri Dec 29 10:31:57 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA04897 for questions-outgoing; Fri, 29 Dec 1995 10:31:57 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA04892 for ; Fri, 29 Dec 1995 10:31:53 -0800 (PST) Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id KAA13832; Fri, 29 Dec 1995 10:31:36 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.7.3/8.6.5) with SMTP id KAA02819; Fri, 29 Dec 1995 10:31:38 -0800 (PST) Message-Id: <199512291831.KAA02819@corbin.Root.COM> To: steve hovey cc: Craig Huckabee , freebsd-questions@freebsd.org Subject: Re: pty limit of 64 In-reply-to: Your message of "Fri, 29 Dec 95 13:05:43 EST." From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 29 Dec 1995 10:31:37 -0800 Sender: owner-questions@freebsd.org Precedence: bulk >> Is there a way to increase the number of ptys beyond 64? > >Id like to know this too - if you try for more than 64 and recmopile the >kernal you get a warning - is there something someplace which uses only >so many bits thus capping it at 64? Are you refering to the maxusers "> 64" warning? I just changed this in -current to 512 users. It's never caused anything more than a warning that can be ignored, but 512 is a more reasonable "max". Actually, the maximum should probably be increased to the maximum that FreeBSD can support given size limits of certain kernel data structures. ...but since I don't what all of the limits are, I can't really pick a real max value. As for ptys, 32 units are fully supported for each of ttyp, q, r, and s, and if you're not using xterms, another 32 ptys each are supported for P, Q, R, and S...for a total of 256 ptys. -DG