delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/29/01:23:47

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=rNznU4gMa0Y+W4JL
9crL148Z7RU59f5+7qgNTIav8Flnp7TvF6A7Wc/ipMD/fZRjDnmflj4MfFj3BISR
Mfs8ELN6z5BXxacj7Polw3pa0xZQK+mXq2/9yeFhlzSDwCdxC4ALKzPkWoruFJF9
sE8cDPAsHv4DBq1NT3d80t6rKPM=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Ss0l4I1nSZXdZnNIMfmTAi
RAGaE=; b=NAySb/o007+yaW77+kTikwjl02zNePlEsauHxPsjnJvM46tpzEnD3n
g3vtoy8BcmRDvTq1D1VQGFvCg+pH+XpGvTin/jyoyJvBEeOna6cIu6LbRP7EWFq1
1SpNZlQe6/nsStlbEawST2ioAcNr351xU4m9rw7ERs+ZV+WYmqaaI=
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=-1.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=chrome, 2.5.1, killing, vanilla
X-HELO: mail-wm0-f44.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=6jEEDW5d82a2mk0A5dh6wkcp5EA0vM5mFKq1fubboyg=; b=I03E/a3xouZCpdOZI3lWGcuSyOlnIWobQ5ZiQ26JcSPG8zdRFhTeQBWpFSG+GA3qFc G6NbRIYuR+fGe/PCELIcg0RDt3QgDO4eranmKV8TOybW6ZmfFn2uOf8jXs+7hXOQjo8e pWsdWwInYezMPNVdtcRb48k4qgxuCyLJLObOOL62tq7QAhKj7/8Ux+dwgTAJcLCEklOB rK19aw4y/akXx6HT15F24HGpStbQbIQziRucWNUJK8lRQlr2DZ7Llvo1w4GjR/W7qDuA HMDKguNZgEozV1syhG04eN2Ikeszf2DATFaDzHSjzDZYckgiLdBeefW6frZl8pzT6PHv 82vg==
X-Gm-Message-State: AOPr4FUTsfF+0nkB029vWcwSRGJznohxVCj5Z6zRsQNssd47mccGe6OFRLZuLv2YPfE+pQ==
X-Received: by 10.28.11.143 with SMTP id 137mr1509745wml.92.1461907393935; Thu, 28 Apr 2016 22:23:13 -0700 (PDT)
Subject: Re: Cygwin process activation very slow
To: cygwin AT cygwin DOT com
References: <22306 DOT 47968 DOT 377196 DOT 214744 AT pcls8 DOT std DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <3eeae7ce-106e-a773-e973-1a99a18abf9b@gmail.com>
Date: Fri, 29 Apr 2016 07:23:07 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <22306.47968.377196.214744@pcls8.std.com>
X-IsSubscribed: yes

On 29/04/2016 03:39, bzs AT theworld DOT com wrote:
>
> 15-30 seconds to do even an ls of a small directory, seems to be
> process activation.
>
> I've spent several days on this. Cygcheck output below but W7 pro,
> 4GB, personal laptop, not a new CPU but otherwise seems ok and the
> disk is a 480GB Sandisk SSD, fairly vanilla set-up no fancy LDAP or AD
> etc, wireless net. Recently updated cygwin trying to fix this, uname
> -a says:
>
>   CYGWIN_NT-6.1 xyzzy 2.5.1(0.297/5/3) 2016-04-21 22:14 x86_64 Cygwin
>
> There's basically no load on this machine, under 10% CPU according to
> taskmgr, 80% memory but mostly that's chrome (browser.) Closing chrome
> etc makes no difference. Killed off the few antivirus procs I could (I
> think killing MS's security stuff takes heroics), no
> difference. Killed off most everything not critical, no change.

which antivirus ?
>
> An attempt at a reinstall or earlier a rebase_all runs for days,
> literally, multiple days.
>
> My best guess is this started after a Windows Update. I did a bunch of
> them and then this started.
>
> An strace of an ls gives me this in part (emphasis added):
>
>     259    3733 [main] ls 2000 user_info::create: user shared version AB1FCCE8
>     140    3873 [main] ls 2000 fhandler_pipe::create: name \\.\pipe\cygwin-e022582
>   115c10879-2000-sigwait, size 11440, mode PIPE_TYPE_MESSAGE
>
>   ***** interesting two lines
>
>   16945   20818 [main] ls 2000 fhandler_pipe::create: pipe read handle 0x80
>      57   20875 [main] ls 2000 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-e022582115c10879-2000-sigwait
>
>   ***** end interesting two lines
>
>      65   20940 [main] ls 2000 fhandler_pipe::create: pipe write handle 0x84
>      41   20981 [main] ls 2000 dll_crt0_0: finished dll_crt0_0 initialization
>   --- Process 2000 thread 2864 created
>
> That means the fhandler_pipe::create took about 17 seconds (16,945ms),
> right? That would be consistent with what I'm seeing.
>
> My guess is that it looks like it's trying to create a named pipe on a
> share (see next line, CreateFile) and for some reason that's going
> into a network timeout? Or slow for some reason.
>


Is not a share, the name is as expected for a pipe.
Usually the timing is in 100-200 range.


PS: as general rule "cygcheck.out" must be an added as attachement.
    not in line in the mail.


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