delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/15/07:54:46

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=bgkwo+SyJkJFFbrmq5F+hvaaB5dSXm+Fosy8aVLJxyCwIrOUX+jeJ
YxyWJ3jABbHoIb8akB30RUWBuuC55/IoKG2gBznu6e8CYkfsTOnZ3rsKc1hERkFe
iCnEmFyf4IgmzkT/1WoHzzD8PlHO11P95emnnDl9uQpYHuUvYkzQE0=
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=J7sEUN3W4n2KtZNTQLuubwQ+cts=; b=SNfILgLu1SDV8DEitUK89ZNva37B
KpXS8zx/kpPJnb/zUf+P2hXXrGKw/e4hP8eaUOkejQTwB6jpR3xO4EvKgHDb/8uL
VM8X1t6lhZwXoqtvjjCdcJZ6zQ/Q+g6G5clZDbTU7g1r1DXATvVXue+yGEc7/Usy
XyPE/NVY1Bje55k=
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=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sat, 15 Aug 2015 13:54:29 +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: <20150815115429.GS28349@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20150807090646 DOT GB12475 AT calimero DOT vinschen DOT de> <1438977081850-120377 DOT post AT n5 DOT nabble DOT com> <20150810084019 DOT GB1559 AT calimero DOT vinschen DOT de> <1439208020687-120403 DOT post AT n5 DOT nabble DOT com> <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>
MIME-Version: 1.0
In-Reply-To: <20150814202007.GM28349@calimero.vinschen.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Aug 14 22:20, Corinna Vinschen wrote:
> On Aug 14 17:48, Corinna Vinschen wrote:
> > On Aug 14 06:49, mku wrote:
> > > I hope, not to follow a red herring again, but found some interesting.
> > >=20
> > > I did a fresh cygwin installation again but made an error not to copy=
 my old
> > > .bashrc and .bashrc-profile files.
> > > Within .bashrc I defined an alias for ls (ls=3D'ls --color=3Dauto
> > > --show-control-chars').
> > > I noticed, that the time lag has went away. After a "ls --color=3Daut=
o", the
> > > time lag appeared again.
> > > Comparing the strace output with/without the color flag, I found that=
 the
> > > time lag at "cygheap_user::ontherange" has gone and it now appeared a=
t a
> > > ldap_bind [ldap_init] that was called in the context of a symbolic li=
nk to a
> > > directory on a network share. The previous strace logs did not show a=
 time
> > > lag at this point, only at the cygheap_user entry.=20
> > >=20
> > > I deleted the "ln -s" entry and did not notice this big time lag any =
more
> > > even with the color flag.
> > >=20
> > > I restored the "old" v2.2.0 version and cannot find the previous logg=
ed time
> > > lag.=20
> > > As no files within the cygwin directory structure has been modified, =
it
> > > seems, that some registry information has been "healed" by the multip=
le
> > > fresh installations.=20
> > >=20
> > > PS: To do a fresh install I did a "backup" by renaming the original c=
ygwin
> > > folder. The "restore" was done by renaming the fresh installed cygwin=
 folder
> > > and renaming the previous "backuped" folder back to cygwin.
> > >=20
> > > For me the issue is now closed. Thanks for your input.
> >=20
> > Thank you for this important point.  That gives me an idea what
> > happens and I guess this is something which needs fixing.  These
> > checks should also only happen if passwd/group in nsswitch.conf
> > are set to "db".
>=20
> I just checked in a patch to address this issue, and I just created a
> new developer snapshot for testing.
>=20
> Can you reproduce the situation by recreating the symlink and try again?
> If you can reproduce it, can you give the latest Cygwin DLL from the
> developer snapshot page https://cygwin.com/snapshots/ a try?

The new 2.2.1-0.1 test release contains this fix as well.  Please give
it a try.


Thanks,
Corinna

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

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

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

iQIcBAEBCAAGBQJVzyh1AAoJEPU2Bp2uRE+gVpYQAKG1D8Sv7o2NG1nwZrZy87zT
SXR0s4tTuVaK1c1/1v9w6TXZKCWJti8AxNG5782IW2pr3mUHGMhK1+nOT+1S6FuV
smYySWdvfcazvZyo35YjLAoo9nK31bxDqq6V6uCV9EFvn906+Ba+ocUUFZ8lBYW8
8+Vz5FY1H7nCg/spXrh5bVNU0RyF9kkrbBjafFI1QVakusRCn6ouQHrwcuhtT3V8
X547Xa+CKIR2QBA7GmFKnJtpRaORcmg3fpfL/5E5PQuWs7mrff9meqp1tPyasp+8
+zrL68DtcXuN2LsevZFUZHmGVSULqGpmJqobtxn64f6LLITxFhMn0nKE5e/Oih2X
zBae5xdgjqJ32aC/g0NMN2G2sqB3s15S/Qb8f2oPY7VwSDvbYypCmNkszGALdSfs
ZV/q3OiOxByGr92S7S1Q8GpKNpVCKJT1l1e5seQxfLxFjsewVxCfwuSOTRqPvX3I
6S6oJolKFKgGcdVOm13URZGJikmlo03FzQPIdYrbu7hKqomQfEgo8hb5i3AK1gX7
w5H70pnLBWRFVUM+MrF26Ua4+BnYBC9hlE8fKWgWjeAcQvfoJs+MWvBddwDot6ag
O9JRRCtGnP918zv5lHRiVtUDvl7DqIIk6xnqAHyFlMtNPD94Q7rEKCOoWxf5U/b8
h0LAmM2/v77aeXelCik/
=XTxz
-----END PGP SIGNATURE-----

--Z1OTrj3C7qypP14j--

- Raw text -


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