From owner-freebsd-questions Tue Nov 17 13:34:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18919 for freebsd-questions-outgoing; Tue, 17 Nov 1998 13:34:02 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from peedub.muc.de (newpc.muc.ditec.de [194.120.126.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA18853 for ; Tue, 17 Nov 1998 13:33:56 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.1/8.6.9) with ESMTP id WAA06313; Tue, 17 Nov 1998 22:09:39 +0100 (CET) Message-Id: <199811172109.WAA06313@peedub.muc.de> X-Mailer: exmh version 2.0.2 2/24/98 To: synker cc: freebsd-questions@FreeBSD.ORG Subject: Re: "no more ptys" Reply-To: Gary Jennejohn In-reply-to: Your message of "Tue, 17 Nov 1998 15:10:00 +0100." <19981117151000.B1439@caurus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 17 Nov 1998 22:09:39 +0100 From: Gary Jennejohn Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG synker writes: >Hi! > >I am using FreeBSD 3.0-RELEASE. > >And it seems like I cant log on with more then 29 users to the computer. > >I have seet up 'pseudo-device pty 256' in the kernel, >and I made more pty in /dev with 'sh MAKEDEV pty{1,2,3,5,6,7}' > >But still I cant log on with more then 29 users, and then I get message >'no more ptys'... > >I use ssh to login but that shouldnt matter I guess. > >Any ideas? > try instrumenting /usr/src/lib/libutil/pty.c (openpty) to see why it's failing. I suspect that sshd has exceeded its limit for opn files. openpty only returns immediatly if the open fails when ENOENT is returned. --- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.dec.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message