From owner-freebsd-hackers Tue Feb 26 14: 7: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 93E4D37B426 for ; Tue, 26 Feb 2002 14:06:54 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g1QM3h832728; Tue, 26 Feb 2002 14:03:47 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Tue, 26 Feb 2002 14:03:42 -0800 (PST) From: Charlie ROOT To: Ceri Cc: Subject: Re: I am running out of PTYs and I shouldn't be. In-Reply-To: <20020226084303.GB16029@rhadamanth> Message-ID: <20020226135902.A32480-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > `sh MAKEDEV ptyX` (where X is each of the numbers 1 through 7) > > Doesn't really matter. > What is this set to ? : > > pseudo-device pty #Pseudo ttys > > Note that you can optionally add a number to the end of this option. Currently this line is set like this: pseudo-device pty with no number arguments. Are you sure that I need to do this ? When I ran my tests on my laptop, I increased maxusers to 128 and made all the /dev files, but I _did not_ add a number argument to the above line, NOR did I add anything to /etc/ttys Also, I did not rebuild screen - but nevertheless I was able to start 6 screens and create about 40 new screens on each of them, for a total of 240 or so screens opened ... So the question is: How come on an identical environment (in terms of devices created, and settings in the kernel) my laptop can create a huge amount of screens - almost as many as the 256 pty device files in /dev, but on my server, which is running all sorts of other items like http and ssh and postgres, blah blah, I run out of ptys prematurely ? thanks, PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message