From owner-freebsd-questions Mon Mar 18 3:50: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hamberg.it.uu.se (hamberg.it.uu.se [130.238.9.198]) by hub.freebsd.org (Postfix) with ESMTP id E97A937B402 for ; Mon, 18 Mar 2002 03:49:53 -0800 (PST) Received: (from ertr1013@localhost) by hamberg.it.uu.se (8.8.5/8.8.5) id MAA07294; Mon, 18 Mar 2002 12:49:17 +0100 (MET) Date: Mon, 18 Mar 2002 12:49:17 +0100 From: Erik Trulsson To: "mike ndabarasa" Cc: freebsd-questions@freebsd.org Subject: Re: Re: how to allow more than 100 simultaneous users Message-ID: <20020318124916.B11533@student.uu.se> References: <20020318113301.A11533@student.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from freebsd@nur.ac.rw on Mon, Mar 18, 2002 at 11:25:38AM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 18, 2002 at 11:25:38AM +0000, mike ndabarasa wrote: > > > > On Mon, 18 Mar 2002 11:33:01 +0100 > Erik Trulsson wrote: > > On Mon, Mar 18, 2002 at 10:02:34AM +0000, mike ndabarasa > > wrote: > > > > > > hello list members, > > > i have a small server for students who need to do their > > > hands on and i am having problems with the number of > > > simultaneour connections. > > > > > > they won't go beyond 32 while i need at least a 100! > > > > > > i modified > > > max 256 > > > and > > > pseudo-device pty 256 > > > > > > but can't still go beyond 32 connections. > > > > > > who can help ? > > > > Did you also create the new ptys or did you just enable > > them in the kernel? > > To create them do the following: > > > > cd /dev > > sh ./MAKEDEV pty0 > > sh ./MAKEDEV pty1 > > sh ./MAKEDEV pty2 > > sh ./MAKEDEV pty3 > > sh ./MAKEDEV pty4 > > sh ./MAKEDEV pty5 > > sh ./MAKEDEV pty6 > > sh ./MAKEDEV pty7 > > > > > > After that you should have 256 ptys available. > > (Each of those invocations create 32 ptys in /dev) > > > > > i did only enable! > didn't do the sh ./MAKEDEV ptyx > > before i do it i can see i have from ptyp0 to ptypv. > > will i say > > sh ./MAKEDEV ptypw > . > . > . > sh ./MAKEDEV ptypz > > > what comes after ptypz ? You should invoke MAKEDEV exactly as I showed above. Those commands will create ptyXY where X is one of pqrsPQRS and Y is one of 0123456789abcdefghijklmnopqrstuv All in all 8 sets of 32 ptys each for a total of 256 ptys. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message