delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/17/16:55:38

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=ZdLi1dCHy/qBYjg9xolu1zc+O8P+Mx67Vr6vlEsflyVpHAXYWwFlD
4dOUjFFwaDribu4lMBX1Gd2Ob8l1vXaY5gA/ZNCcZ0bxk7/49V8Ih9ALtnkiEHE8
Uv5EOdlxL3uZX2udv6yhOcMPJxXIbiinyutiZ5YRIo4UkbxUPGgnYY=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=eUesJnVJCItl+mqzErrYPC0sD/8=; b=kE5TWVSfenNUkjRX5P+dy7FV/7QZ
M+0OmC4tIP55SrnsPe3SVRgy0SsJzzrsa+9gZDCl899b9BIoEw3vJXOHr0MmHNgP
EhCP+3nOvFeZurVwTD8wbhuLGLzscK9hxQ3XSqDvsONOUqTN95yB6ZGvrD1odaDy
+S9Whz1/ZcW+jYw=
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=-3.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,URI_HEX autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 17 Aug 2015 22:55:17 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: commands spends time in cygheap_user
Message-ID: <20150817205517.GI17917@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20150810160150 DOT GD13029 AT calimero DOT vinschen DOT de> <1439380764318-120458 DOT post AT n5 DOT nabble DOT com> <20150812144754 DOT GJ13029 AT calimero DOT vinschen DOT de> <1439560143628-120519 DOT post AT n5 DOT nabble DOT com> <20150814154832 DOT GK28349 AT calimero DOT vinschen DOT de> <20150814202007 DOT GM28349 AT calimero DOT vinschen DOT de> <20150815115429 DOT GS28349 AT calimero DOT vinschen DOT de> <1439728500518-120553 DOT post AT n5 DOT nabble DOT com> <20150817080703 DOT GC25127 AT calimero DOT vinschen DOT de> <20150817081337 DOT GF25127 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20150817081337.GF25127@calimero.vinschen.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

--3Gf/FFewwPeBMqCJ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Aug 17 10:13, Corinna Vinschen wrote:
> On Aug 17 10:07, Corinna Vinschen wrote:
> > On Aug 16 05:35, mku wrote:
> > > I changed cygwin1.dll to Version 2.2.1 and got the results shown in t=
he
> > > attached log file (
> > > cygwin-time-lag.txt
> > > <http://cygwin.1069669.n5.nabble.com/file/n120553/cygwin-time-lag.txt=
>  ).
> > > I'm sorry to say that the problem has not disappeared with that patch.
> >=20
> >=20
> > Too bad, I thought skipping the SID<->uid mapping per RFC 2307 is the
> > culprit.
>=20
> s/is the culprit/fixes the problem.
>=20
> >=20
> > Are you sure your /etc/nsswitch.conf is set to
> >=20
> >   passwd: files
> >   group: files
> >=20
> > Can you print it out, please?
> >=20
> > I'll try to reproduce this again in the next few days.

I managed to reproduce the issue and I think I found the actual problem
here.  When trying to create the supplementary group list of the current
user, Cygwin called LookupAccountSids indiscriminately.  If you don't
have access to your AD, this call is bound to take some time, 5 to 10
secs in my testing.

I changed the code so that when "group: db" is set in /etc/nsswitch.conf
it will only utilize /etc/group to fetch group information.

I uploaded a new developer snapshot containing this patch to
https://cygwin.com/snapshots/  Please give it a try.  For testing, just
replace your current DLL with the snapshot DLL temporarily.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--3Gf/FFewwPeBMqCJ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJV0ko1AAoJEPU2Bp2uRE+gFjgP/AthaiW7kuTLWnCMOTWO1huO
uSnCQCETH5yUrLt0/rLMz+Znu5+uBJtTon738dT2xdJsoF+9Pmn5ZCIW/FGTNZek
4tsmNQ+e7h6X9n/hPRtLM1V69N1CB/hTi2QK0zb7u3S6RQxMDymh0sUiTwteD/DB
lSCRMu5UEF4DXgIiw9CF4N9GiPZY4AtnLeX9FMOQSWAMVJIbJXhLk1Hv+U1Aa7RE
plShRYres5LRSvbpCDgBVBPZRLDmKXoJp3Hk/rntQ1Jal9/oFxiCyPhR/Z6FUxVB
YXiXfTl+TbJhJsgzYo8HTuW9p9/ucPnDJFvVxdm+y65R6ZEsBguay5SAgyWSWS38
43C4VHPvhfzUKfNHCdmLm+CS8U/M4nOnSuM0VwvIkbdp6Z86mxl4/cKeGHkwL2TV
ITuVqGTvAHXxklnPMtGfVTssf0uL+mOSyH4QVGIqPI6CaXjsTabbxEerLhjLGdEB
wGIU9/lYm93a1MFvx2tqS/K8+yXZB1nLiIPXCpo2l9h5hXOMWQgvWYgA42uaFcSO
ih4kDkY5gN65OBI8sIarSdyvTNs9cbJ/oPvv2xwOu/6TB15s2ZVYKQSWnuiQOXOe
bPDSm9R6LgPbj+fysLTwK4qOx75rpy1QwnFPYgMXf5rVasHXogfAu1lJmYdjMcgc
QCj1hAYpr+KxEwFBHBwx
=v+EG
-----END PGP SIGNATURE-----

--3Gf/FFewwPeBMqCJ--

- Raw text -


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