From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tsh@mrc-lmb.cam.ac.uk Newsgroups: gmane.os.tru64.managers Subject: pty and pipe problem Date: Fri, 28 Mar 2003 12:10:53 +0000 (GMT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200303281210.MAA419826@alf1.mrc-lmb.cam.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048853470 31310 80.91.224.249 (28 Mar 2003 12:11:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2003 12:11:10 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Mar 28 13:11:08 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18yshQ-00088q-00 for ; Fri, 28 Mar 2003 13:11:08 +0100 Original-Received: (qmail 2479 invoked by uid 5); 28 Mar 2003 12:11:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2470 invoked by uid 49493); 28 Mar 2003 12:11:06 -0000 Original-Received: from tsh@mrc-lmb.cam.ac.uk by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(0.3/5.0):. Processed in 0.553965 secs); 28 Mar 2003 12:11:06 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 28 Mar 2003 12:11:05 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCG00LSDKIGYU@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 28 Mar 2003 07:11:04 -0500 (EST) Original-Received: from rose.csi.cam.ac.uk (rose.csi.cam.ac.uk [131.111.8.13]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCG00B4QKIBGN@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 28 Mar 2003 07:10:59 -0500 (EST) Original-Received: from server1.mrc-lmb.cam.ac.uk ([131.111.85.23]) by rose.csi.cam.ac.uk with esmtp (Exim 4.12) id 18yshG-0003DX-00 for tru64-unix-managers@ornl.gov; Fri, 28 Mar 2003 12:10:58 +0000 Original-Received: from alf1.mrc-lmb.cam.ac.uk ([131.111.85.78]) by server1.mrc-lmb.cam.ac.uk with esmtp (Exim 4.10) id 18yshB-0008Uv-00 for tru64-unix-managers@ornl.gov; Fri, 28 Mar 2003 12:10:53 +0000 Original-Received: by alf1.mrc-lmb.cam.ac.uk (8.9.3) id MAA419826; Fri, 28 Mar 2003 12:10:53 +0000 (GMT) Original-To: Managers X-Mailer: ELM [version 2.4ME+ PL66 (25)] Xref: main.gmane.org gmane.os.tru64.managers:3824 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3824 Hi all, We occasionally get this error when using commands involving pipes: alf1_tsh> echo hello | cat | cat | cat setpgid child: : Not owner. alf1_tsh> echo hello | cat | cat | cat hello alf1_tsh> echo hello | cat | cat | cat setpgid child: : Not owner. setpgid child: : Not owner. setpgid child: : Not owner. (This is a silly command, just to provoke the problem) The errors aren't reproducible, and will usually succeed on a retry. A possibly related problem, is that sometimes, attempts to initiate a 'make' from within Emacs, will result in the error: Opening pty or pipe: No such device or address This error is usually much more persistent than the 'Not owner' one. Any clues as to where we might start looking? We have 368 pseudoterminal devices: alf1_tsh> ls /dev/pts* | wc -l 368 And when the problems occur, I dont see any evidence of pts exhaustion. We're running 5.1 PK5 Cheers, Terry. Terry Horsnell (tsh@mrc-lmb.cam.ac.uk) I.T. Manager Medical Research Council Lab of Molecular Biology Hills Road CAMBRIDGE CB2 2QH U.K. Phone: +44 (0)1223 248011 Fax: +44 (0)1223 213556