delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/17/17:04:23

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=OQWVGwJB9b7aAgu3oeLT/FYfITlDcKCCEcQtgU/Bo6dl4Q3exSIzg
3uwamFvYbrsjr2lpq5R8EznrN1kV2RGTTquc7mQNWev++6z3ZyM/HZMrp24dSrIX
+hmjGRG8obpV1lZ202TqCzEwu9JXGb2mOdPkb5eqfhaJfgHgE+TZRY=
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=zCuOdpSoIeVK0GesYxWR3Ctnf3s=; b=FxvPh3oYq95b3/8foCivswBRzAJe
sHZO8sHxoitzjXxS4086HjwVpDJ59nGvrXECefqJNNLp+28yIh7NFbik58pJgtaV
Aky27gV3cOPd0VQGRLx31noL/PpOoHhVP+K3BnAWHzBrZn/hc8Hi/x83dZp7H5nk
eDtL2ZHJsmr5fh8=
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 23:04:06 +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: <20150817210406.GJ17917@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <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> <20150817205517 DOT GI17917 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20150817205517.GI17917@calimero.vinschen.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Aug 17 22:55, Corinna Vinschen wrote:
> 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=
 the
> > > > attached log file (
> > > > cygwin-time-lag.txt
> > > > <http://cygwin.1069669.n5.nabble.com/file/n120553/cygwin-time-lag.t=
xt>  ).
> > > > I'm sorry to say that the problem has not disappeared with that pat=
ch.
> > >=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.
>=20
> 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.
>=20
> I changed the code so that when "group: db" is set in /etc/nsswitch.conf

uhm, make that

  ...when "group: files" is set...

> it will only utilize /etc/group to fetch group information.
>=20
> 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

--GxcwvYAGnODwn7V8
Content-Type: application/pgp-signature

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

iQIcBAEBCAAGBQJV0kxGAAoJEPU2Bp2uRE+gXPEP/ROXDQc8Eq8l5G0TAHY7si3W
GZslZumpSyW5zWQdD29fyy65N+qWBxIYH5V9dfWpwG7V7oReOwIpmUrptksM8VgC
w6VU3cpAusGJeTR05DZFkOY3lfJXiSR2RukN2I4zlBQu7NfJKIFIsHTUCblLbn5z
bW9U509R2pBpnvWp+p2LbEdd6zpyCRELJAlTgZdSZYRMaZthk2RLIuXjbyCiFdIC
6jKVyVcTYYHuaqUOLB8yyeu5PBU/uNZQePpEFdD6LF93C+EnS93CrqXw/hnxTM5R
oCEGzcQZNu0ZVrKHzgIo+9HyvzpY740/g/dZ8zPVs8KJ7bkqcKOUyj1cjVhTQPAn
IzkZ4atbQwVgkVup6X2IOr/RB+W00WVBLUw0ntdEpPCDyJtZxNr7wN+gzuKNGLKl
Ff1V6cKktcE+Veg4t+MCUXSjP719yrv1KabtgewdjriH5XR8JYD26YQfu/PeA7F+
vO+rsqR7jtBb2b1NxuOvZ5+FiTpBVVHgMtRBxbNb5frtJiD/7CunxU7sZ0jkbams
8M2J29C51BZbJ4RjWS9A9FbaDgp/yiEQr8s01Hk/rv8Wx6h1wrp0c0tevP2QxwCp
605S1i/HSygBKIJfOoBLE12HEnjRd4kas/ciX6i1d3YoJGT8t1BNSIX/wlDniLGT
bxsJao/Kj1Yxwr6EGURG
=Artb
-----END PGP SIGNATURE-----

--GxcwvYAGnODwn7V8--

- Raw text -


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