Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 1998 11:57:30 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        taob@risc.org, wollman@khavrinen.lcs.mit.edu
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Processes stuck waiting for tty drain?
Message-ID:  <199810040157.LAA15502@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> Since it was running on a pty, probably something had gone wrong
>> with the process on the master side, and so the buffer wasn't
>> getting drained.
>
>    Hrm, so this is a telnetd-related problem then?  It happened again

Probably.  I think it's the problem that I tried to debug years ago on
freefall.  Everything seemed OK except telnetd.

># ps -lfp 5007
>  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
>    0  5007   148   0   2  0   880  548 select Is    ??    0:06.62 telnetd

telnetd is selecting on something instead of reading the pty like it
needs to do to drain the pty.  This is a telnetd bug unless "something"
includes the pty.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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