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 Message-ID: <199608111548.RAA18506@keltia.freenix.fr>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608111548.RAA18506>