NetBSD Problem Report #31411

From www@netbsd.org  Thu Sep 29 01:01:39 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id E1FCF63B8C8; Thu, 29 Sep 2005 01:01:39 +0000 (UTC)
Message-Id: <20050929010139.E1FCF63B8C8@narn.netbsd.org>
Date: Thu, 29 Sep 2005 01:01:39 +0000 (UTC)
From: zafer@gmx.org
Reply-To: zafer@gmx.org
To: gnats-bugs@netbsd.org
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
>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

NetBSD Home
NetBSD PR Database Search

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