delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/21/14:15:45

X-Spam-Check-By: sourceware.org
Message-ID: <442050CF.209EE687@dessent.net>
Date: Tue, 21 Mar 2006 11:15:27 -0800
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 4355 pipe handlers open at once - is this to be 'expect'ed?
References: <007401c64ce1$ed181990$a501a8c0 AT CAM DOT ARTIMI DOT COM>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Dave Korn wrote:

>   I thought the value for hProcess looked a little suspiciously high, but on
> digging through it with Process Explorer (which appears to be playing nicely
> with cygwin programs these days) discovered that it was a real process handle
> value, because expect.exe had over four thousand anonymous pipes open:

I noticed this a few months ago.  At the end of running the full gcc
testsuite there were over 60,000 handles in the expect.exe process, the
vast majority of which were these anonymous pipes that you show below.

I tried to reproduce it with a looping dummy "hello world" test harness
but couldn't.  I think it's something particular in the (quite
customized) gcc 'expect' harness.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019