From owner-freebsd-questions Mon Mar 18 11:24:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pumba.nur.ac.rw (pumba.nur.ac.rw [216.147.148.9]) by hub.freebsd.org (Postfix) with ESMTP id 6FF5937B400 for ; Mon, 18 Mar 2002 11:23:44 -0800 (PST) Received: from [216.147.148.12] (account ) by pumba.nur.ac.rw (CommuniGate Pro WebUser 3.4.2) with HTTP id 2937012; Mon, 18 Mar 2002 19:23:36 +0000 From: "mike ndabarasa" Subject: Re: how to allow more than 100 simultaneous users To: Erik Trulsson , "mike ndabarasa" Cc: freebsd-questions@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.2 Date: Mon, 18 Mar 2002 19:23:36 +0000 Message-ID: In-Reply-To: <20020318124916.B11533@student.uu.se> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit 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 thank you Erik! i just that way and this afternoon i was amazed to see more than 72 users connected users. On Mon, 18 Mar 2002 12:49:17 +0100 Erik Trulsson wrote: > 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 > NDABARASA MIKE *** CCNA(Cisco Certified Network Associate) *** *** CCAI(Cisco Certified Academy Instructor) *** National University of Rwanda COMPUTING CENTRE E-mail: mike@nur.ac.rw Voice: office (+250)530666 mobile (+250)08425269 ============================================================ Felix qui potuit rerum cognoscere causas *** &&& $$$ &&& *** Heureux celui qui comprend l'ultime raison des choses ============================================================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message