lkml.org 
[lkml]   [1998]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: lost ptys?
Date
Peter Benie wrote:
> Herbert Xu writes ("lost ptys?"):
> > I'm getting lost ptys regularly on quite a few machines where telnet
> > and ssh are used. Basically there will be /dev/ptyp? files which aren't used
> > by any process but opening it will return EIO. This is on a 2.0.33 kernel.
> > Has anybody else seen this?
>
> The cause of this is almost certain to be that you started a daemon by
> hand, and that daemon didn't separate itself from its environment
> properly by closing stdin, stdout and stderr. You can use lsof or
> /proc/pid/fd/* to work out which process has the pty open. Personally,
> I wouldn't worry about it.

Yes, looks like I only checked the /dev/ptyp? devices, and forgot about
/dev/ttyp?. Turns out kerneld still had the /dev/ttyp? device open. Thanks
for the response.

--
Debian GNU/Linux 1.3 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.041 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site