Subject: lib/31411: Server refused to allocate pty
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <zafer@gmx.org>
List: netbsd-bugs
Date: 09/29/2005 01:02:00
>Number: 31411
>Category: lib
>Synopsis: Server refused to allocate pty
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 29 01:02:00 +0000 2005
>Originator: Zafer Aydogan
>Release: 3.99.9
>Organization:
>Environment:
i386
>Description:
The ssh demon does not deny the new incoming connection, if all
pty's are already in use.
The Login freezes after authentication, but the .profile is executed. (uptime was in .profile)
if you try to login, it looks like this:
Server refused to allocate pty
8:34AM up 2 days, 15:05, 64 users, load averages: 0.90, 1.94, 1.77
and then the connection freezes.
The machine is fine.
Syslog says:
sshd[544]: error: openpty: No such file or directory
sshd[551]: error: session_pty_req: session 0 allac failed
...(repeating)...
There is no problem with telnet.
if you try to connect you get:
telnetd: All network ports in use.
then the connection is disconnected.
I thought sshd would disconnect aswell.
>How-To-Repeat:
try to ssh-login on a full server (with 64 users).
>Fix:
yes please