NetBSD Problem Report #31411

From  Thu Sep 29 01:01:39 2005
Return-Path: <>
Received: by (Postfix, from userid 31301)
	id E1FCF63B8C8; Thu, 29 Sep 2005 01:01:39 +0000 (UTC)
Message-Id: <>
Date: Thu, 29 Sep 2005 01:01:39 +0000 (UTC)
Subject: Server refused to allocate pty
X-Send-Pr-Version: www-1.0

>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
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

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.

try to ssh-login on a full server (with 64 users).

yes please

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.