Messages in this thread | | | From | Herbert Xu <> | Subject | Re: lost ptys? | Date | Sun, 7 Jun 1998 08:57:57 +1000 (EST) |
| |
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
| |