Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 1998 22:09:39 +0100
From:      Gary Jennejohn <garyj@peedub.muc.de>
To:        synker <synker@caurus.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: "no more ptys" 
Message-ID:  <199811172109.WAA06313@peedub.muc.de>
In-Reply-To: Your message of "Tue, 17 Nov 1998 15:10:00 %2B0100." <19981117151000.B1439@caurus.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811172109.WAA06313>