From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32781 invoked by alias); 17 Aug 2015 21:04:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 32773 invoked by uid 89); 17 Aug 2015 21:04:09 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Aug 2015 21:04:08 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id A2086A807C8; Mon, 17 Aug 2015 23:04:06 +0200 (CEST) Date: Mon, 17 Aug 2015 21:04:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: commands spends time in cygheap_user Message-ID: <20150817210406.GJ17917@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <1439380764318-120458.post@n5.nabble.com> <20150812144754.GJ13029@calimero.vinschen.de> <1439560143628-120519.post@n5.nabble.com> <20150814154832.GK28349@calimero.vinschen.de> <20150814202007.GM28349@calimero.vinschen.de> <20150815115429.GS28349@calimero.vinschen.de> <1439728500518-120553.post@n5.nabble.com> <20150817080703.GC25127@calimero.vinschen.de> <20150817081337.GF25127@calimero.vinschen.de> <20150817205517.GI17917@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GxcwvYAGnODwn7V8" Content-Disposition: inline In-Reply-To: <20150817205517.GI17917@calimero.vinschen.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-08/txt/msg00293.txt.bz2 --GxcwvYAGnODwn7V8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1743 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 > > > > ). > > > > 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 Content-length: 819 -----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--