From owner-freebsd-hackers Sun Aug 11 08:50:34 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA19139 for hackers-outgoing; Sun, 11 Aug 1996 08:50:34 -0700 (PDT) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.eu.org [193.56.58.253]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA19114 for ; Sun, 11 Aug 1996 08:50:09 -0700 (PDT) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.eu.org [193.56.58.33]) by mexico.brainstorm.eu.org (8.7.5/8.7.3) with ESMTP id RAA01482; Sun, 11 Aug 1996 17:49:35 +0200 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.6.12/8.6.12) with UUCP id RAA01079; Sun, 11 Aug 1996 17:49:26 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.Alpha.7/keltia-uucp-2.9) id RAA18506; Sun, 11 Aug 1996 17:48:19 +0200 (MET DST) Message-Id: <199608111548.RAA18506@keltia.freenix.fr> Date: Sun, 11 Aug 1996 17:48:19 +0200 From: roberto@keltia.freenix.fr (Ollivier Robert) To: freebsd-hackers@FreeBSD.ORG (FreeBSD Hackers' list) Cc: bde@zeta.org.au (Bruce Evans) Subject: Weird pty problem X-Mailer: Mutt 0.39 Mime-Version: 1.0 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, A strange problem reappeared today. After some time, I can't launch any command that use /dev/[pt]ty8. Only this one is affected but it of course prevent any new tty to be open since /dev/ttyp8 appears free but no process can attach to it. I have icons to launch an xterm that runs Trn or Elm and each time the window appears and disappears. I've tried to ktrace the xterm and its children but I don't understand why this fails. 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 ttyp1 0 0 0 1296 256 0 OCc ef2bc0 12000 term ttyp2 0 0 0 1296 256 0 OCc de12c0 12001 term ttyp3 0 0 0 1296 256 0 OCc 0 0 term ttyp4 0 0 0 1296 256 0 OCc ef2a00 18503 term ttyp5 0 0 0 1296 256 729 OCc de1280 18486 term ttyp6 0 0 0 1296 256 107 OCc ef2a80 12047 term ttyp7 0 0 0 1296 256 42 OCc ef2f00 12089 term ttyp8 0 0 0 1296 256 108 OCZ de1580 12923 term ttyp9 0 0 0 1296 256 0 - 0 0 term ttypa 0 0 0 1296 256 0 - 0 0 term Anyone with an idea about what's going on ? (Bruce ?) CURRENT sources from Aug, 2nd. -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #17: Fri Aug 2 20:40:17 MET DST 1996