[565] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: Pty problems

daemon@ATHENA.MIT.EDU (Alan Cox)
Fri Jun 23 10:38:53 1995

From: iialan@iifeak.swan.ac.uk (Alan Cox)
To: marcus@kuai.se (Marcus Nilsson)
Date: Fri, 23 Jun 1995 13:38:48 +0100 (BST)
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.91.950622165919.121B-100000@tao.kuai.se> from "Marcus Nilsson" at Jun 22, 95 05:09:57 pm

> We have a considerable amount of rlogin on our server, due to the face 
> that we are an Internet Access Provider. Now, it seems that sometimes the 
> pty "hangs". All ptys don't hang, just one. Say that ttyp4 hangs, then 
> when the fifth user logs in it says(when using telnet, rlogin just stops):
> 
> Linux (tao.kuai.se) (ttyp4)
> 
> Then it stops. I have recompiled both telnetd and rlogind to put some 
> debug info there. And in rlogind, I have traced down that it hangs 
> at the first write to the pty. In telnetd, the above line obviously is 
> written my the "protocol" function, which suggests a ptyhang. Also, as 
> soon as one user has logged out, leaving a pty free, then you can telnet 
> or rlogin in on that pty, then it hangs again on the same pty(in this 
> case ttyp4). All this suggests that one pty hangs.
> 

Sounds to me more like a shell problem and people getting programs stuck. 
sugalaxy.swan.ac.uk had this problem for ages until we switched people to
a shell that did hangups right.

Alan


home help back first fref pref prev next nref lref last post