delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/23/18:05:15

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
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Cygwin processes getting stuck on max CPU usage; XP SP2 problem?
Date: Thu, 23 Sep 2004 15:07:11 -0700
Lines: 37
Message-ID: <civhae$831$1@sea.gmane.org>
References: <Pine DOT WNT DOT 4 DOT 58 DOT 0409232101080 DOT 2332 AT 3MWVC01-WGG DOT eur DOT slb DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 12.9.207.207
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
In-Reply-To: <Pine.WNT.4.58.0409232101080.2332@3MWVC01-WGG.eur.slb.com>
X-IsSubscribed: yes

Simon Barnes wrote:

> Some of my colleagues and I are seeing this without using Process 
> Explorer. No doubt some other automated process is triggering it, but 
> we don't know which.
>
> Is there anything I can do to help work towards a fix? It's moderately 
> inconvenient having to restart rxvt or bash every few hours.
>
> Simon
>
>> If you have symbols installed and you list the threads for the hung 
>> Cygwin process you'll see the stuck one is in a loop in 
>> ntdll.dll!RtlConvertUiListToApiList, as well as a corresponding 
>> thread in csrss.exe (CSRSRV.dll!ValidateMessageString) for each. The 
>> CPU usage seems to be split equally between them all.
>>
>> So, it's definitely an interaction between Cygwin and Process 
>> Explorer's grubby little fingers... however no one seems to be 
>> interestd in fixing it so for the time being the solution seems to be 
>> "Don't accidently enable the 'DLLs View' of a cygwin process in ProcExp."
>
Ah ha! I thought only I was seeing this oddity! What I would see is 
csrss consuming CPU wildly along with cron and inetd. My usually 
workaround would be to net stop/start cron and inetd and things were 
fine again. Then I'd scratch my head and wonder how that happened. I 
thought of reporting it but it seemed elusive and sporadic. Hmmm... I 
usually use procexp at work but not as much at home. My problem happens 
at home but not as much at work. The procexp I have at work is newer 
than the one at home (just adding data points).

Next time this happens I'll try to remember to note if procexp is 
running. I wonder if killing procexp also fixes the problem.

Strange!
-- 
Hidden DOS secret: add BUGS=OFF to your CONFIG.SYS


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