delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/07/13:26:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Fri, 7 Nov 2003 13:24:29 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Process hang(100% CPU Usage) when concurrent calling select(),cygwin1.5.5-1 WinXP/Win2000
Message-ID: <20031107182429.GA3490@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <E1AH1u4-0003nc-00 AT quimby DOT gnus DOT org> <3FABBDD4 DOT 6090900 AT hekimian DOT com>
Mime-Version: 1.0
In-Reply-To: <3FABBDD4.6090900@hekimian.com>
User-Agent: Mutt/1.4.1i

On Fri, Nov 07, 2003 at 10:44:20AM -0500, Joe Buehler wrote:
>zhouxin wrote:
>>If the udp worker's count greater than 18,some thread's select() hang
>>and process take 100% cpu:
>
>Interestingly, there is a static pool of 18 threads internally before
>switching to dynamically created threads.  So there may be some problem
>related to the dynamically allocated threads code.

Hmm.  Interesting observation.  I took a stab at fixing a couple of
obvious problems in the thread overflow code.  It seems like it might
have solved the problem.

There will be a new snapshot available in an hour or so at:

http://cygwin.com/snapshots/

Thanks for the test case, btw.

cgf

--
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