delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/18/00:30:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=Wy2Lw7MQaETWLUaK3j0vkspcfmBVeoDjDxfT4hv0d2I
/Zx8+DQj5JEp6xpd3lfw7/MgoI6Grp5MogplgafDij1EeZNm4Qt+3BgPZxNPvJyO
H9zbrQjtRhxYzPiIcVVvWail4vSS5lLk1VHhOy0rVRHSwf0dLjmlBiHrAPBWpbts
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=lxlLJHcOsTqVQ/wFmr0sJYDzgEk=; b=Ab57vzy8n8qHs6NvS
cmZRY1glpPqIvleWmsEzk3SZL2vYCKmuZmL4B+PWXyVZdWtvAcB1EkEojj2bIwKP
EIDA5Z7WwuQz8xzYxIXsDdh+cgHKvOjL+rFbVH+eSo8ENGrmgvArqlWn38ZEb2Sg
lDhHjMGAw2Y1QTmfEUPiHGmFsI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f174.google.com
X-Received: by 10.180.96.41 with SMTP id dp9mr6536432wib.77.1429331436969; Fri, 17 Apr 2015 21:30:36 -0700 (PDT)
Message-ID: <5531DDE7.2050007@gmail.com>
Date: Sat, 18 Apr 2015 06:30:31 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Running tasklist /m in cygwin hangs
References: <DUB123-W4750825E1B5751A9A8C87DB1E50 AT phx DOT gbl> <DUB123-W47F773413670D52BA6C788B1E50 AT phx DOT gbl>,<1649023972 DOT 20150415221557 AT yandex DOT ru> <DUB123-W19314222C44FF6C6D492E5B1E30 AT phx DOT gbl> <55312F6B DOT 60007 AT gmail DOT com> <1688389853 DOT 20150418020511 AT yandex DOT ru>
In-Reply-To: <1688389853.20150418020511@yandex.ru>
X-IsSubscribed: yes

On 4/18/2015 1:05 AM, Andrey Repin wrote:
> Greetings, Marco Atzeri!
>
>>> I can confirm it still hangs for me with 1.7.35. I am using the 32 bit (i686) Cygwin which is the only difference from Andrey's.
>>>
>
>> on  $ uname -vrsm
>> CYGWIN_NT-6.1-WOW 1.7.35(0.287/5/3) 2015-03-04 12:07 i686
>
>> It is only a bit slow (both mintty and console)
>
>> $ time tasklist /m normaliz.DLL
>
>> Image Name                     PID Modules
>> ========================= ========
>> ============================================
>> ZenworksWindowsService.ex     1424 normaliz.dll
>> AppleMobileDeviceService.     1616 normaliz.dll
>> explorer.exe                  2520 normaliz.dll
>> PanGPS.exe                    3276 normaliz.dll
>> PanGPA.exe                    3420 normaliz.dll
>> iTunesHelper.exe              3544 normaliz.dll
>> Smc.exe                       5008 normaliz.dll
>
>> real    1m25.565s
>
> Oh... wow...
>
> real    0m0.088s
>
> [x].[x]
>
>> user    0m0.015s
>> sys     0m0.046s
>
>> It seems some type of timeout in the interaction of this
>> windows utility and cygwin
>
> Was it native console or pty ?
>

on 32bit cygwin on 64bit W7
cmd+bash and mintty+bash have the same long time.

As the effect is around 10 sec per line and "tasklist.exe" is looking
which process is using a certain dll, I presume that there is a negative
interactions (timeout, double sleep ?).

cmd alone or 64 bit cygwin has no delay effect.

However on 64bit you can compare

/cygdrive/c/windows/SysWOW64/tasklist.exe /m normaliz.dll
/cygdrive/c/windows/System32/tasklist.exe /m normaliz.dll

timing ;-)

Regards
Marco

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

- Raw text -


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