From owner-freebsd-hackers Sun Aug 11 14:38:30 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA14388 for hackers-outgoing; Sun, 11 Aug 1996 14:38:30 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA14383 for ; Sun, 11 Aug 1996 14:38:26 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id HAA11914; Mon, 12 Aug 1996 07:31:12 +1000 Date: Mon, 12 Aug 1996 07:31:12 +1000 From: Bruce Evans Message-Id: <199608112131.HAA11914@godzilla.zeta.org.au> To: freebsd-hackers@FreeBSD.ORG, roberto@keltia.freenix.fr Subject: Re: Weird pty problem Cc: bde@zeta.org.au Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >I now have the following xterm in background. It enables me to open new >ptys but eats a lot of CPU... >18477 p5 R 3:01.18 xterm -e sleep 10000000 >It has taken over /dev/ttyp8 but as soon as the sleep ends, it will be >"free" again. pstat -t shows that >64 pty lines > LINE RAW CAN OUT HWT LWT COL STATE SESS PGID DISC > ttyp0 0 0 0 1296 256 0 OCc ef2c00 11999 term > ... > ttyp8 0 0 0 1296 256 108 OCZ de1580 12923 term Is this part of the problem or the solution? The state OCZ can't happen :-) (Z implies !C). Bruce