From owner-freebsd-stable Tue Nov 5 11: 1: 0 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C672237B401 for ; Tue, 5 Nov 2002 11:00:56 -0800 (PST) Received: from radix.cryptio.net (radix.cryptio.net [199.181.107.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 307B143E8A for ; Tue, 5 Nov 2002 11:00:56 -0800 (PST) (envelope-from emechler@radix.cryptio.net) Received: from radix.cryptio.net (localhost [127.0.0.1]) by radix.cryptio.net (8.12.5/8.12.5) with ESMTP id gA5J0tsP053625 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 5 Nov 2002 11:00:55 -0800 (PST) (envelope-from emechler@radix.cryptio.net) Received: (from emechler@localhost) by radix.cryptio.net (8.12.5/8.12.5/Submit) id gA5J0tPN053624; Tue, 5 Nov 2002 11:00:55 -0800 (PST) Date: Tue, 5 Nov 2002 11:00:55 -0800 From: Erick Mechler To: Don Bowman Cc: peterh@ripewithdecay.com, stable@FreeBSD.ORG Subject: Re: User login limit Message-ID: <20021105190055.GQ15618@techometer.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :: > I've noticed FreeBSD doesn't like accepting more than 24 :: > logins, no matter :: > if they're local, ssh, etc. :: :: in your /boot/loader.conf file, put a line like: :: kern.maxusers=0 :: :: Or set it to an actual value. :: 0 will cause it to auto-size I'm pretty sure that what you're seeing isn't tuning related, but rather it's that you're running out of ptys. To fix this, you need to edit a line in your kernel config from pseudo-device pty # Pseudo-ttys (telnet etc) to read pseudo-device pty 256 # Pseudo-ttys (telnet etc) Rebuild your kernel (see Chapter 9 of the handbook for info on rebuilding your kernels), and then when you have it installed, do the following as root cd /dev/ /bin/sh for i in 0 1 2 3 4 5 6 7; do sh ./MAKEDEV pty$i; done Cheers - Erick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message