From owner-freebsd-current Tue Nov 3 17:52:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25023 for freebsd-current-outgoing; Tue, 3 Nov 1998 17:52:49 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from locnar.eng.mindspring.net (locnar.eng.mindspring.net [207.69.192.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25015 for ; Tue, 3 Nov 1998 17:52:44 -0800 (PST) (envelope-from sevn@mindspring.net) Received: from localhost (localhost [127.0.0.1]) by locnar.eng.mindspring.net (8.9.1/8.9.1) with SMTP id UAA11853; Tue, 3 Nov 1998 20:48:53 -0500 (EST) (envelope-from sevn@mindspring.net) Date: Tue, 3 Nov 1998 20:48:52 -0500 (EST) From: Scott Wilson X-Sender: sevn@locnar.eng.mindspring.net To: Thomas Stromberg cc: current@FreeBSD.ORG Subject: Re: Hitting my pty limit of 256 with only 46 open? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There's plenty of stuff in /etc/login.conf that could be bitting you in the ass on this one. Scott On Tue, 3 Nov 1998, Thomas Stromberg wrote: > I've got a private shellbox/workstation running 3.0-CURRENT. I'm not sure > why, but I keep hitting a pty limit, where no one can login/make new > screen sessions, etc. I've changed all the settings I know of to allow for > 256 ptys to be open, but with no result. > > Whenever I hit this limit, lsof reports I only have 44-46 of them in use: > [root(98NOV)]> lsof -n|grep -c pty > 45 > > System: > FreeBSD under.suspicion.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Mon Nov 2 > 12:36:47 EST 1998 > ventrex@under.suspicion.org:/vol/1/usr/src/sys/compile/blowntoad i386 > > > But Here is the applicable kernel settings: > maxusers 128 > options NMBCLUSTERS=8192 > pseudo-device pty 256 > > > /dev also has entries for pty: > [ventrex(98NOV)]> ls /dev/pty*|wc > 256 256 2816 > [ventrex(98NOV)]> ls /dev/tty*|wc > 273 273 3009 > > > I'm presuming that there is something I'm missing, but I havent yet been > able to figure it out. Any pointers/help would be much appreciated. > > > ======================================================================== > Thomas Stromberg | smtp -> thomas@stromberg.org > System Administrator, RTC Inc. | http -> thomas.stromberg.org > (919) 380-9771 ext. 3210 : talk -> ventrex@stromberg.org > "the more we know, the less we are" . irc -> ventrex@EFnet > ======================================================================== > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message