delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/14/11:48:54

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=uDB4gmZSDQPh0ZhUyAFQvZwsdksAYUd3dgGxQjn5mD6HQlLsIL6f8
77XdQtbGblGAlIssoayUGr2FOmYRUtcUgWBiTBRHLIdj1Syt6N/r7xkS2LcIpBzo
XNCui586GSF8y/4r4+Kos7VVpOn2g+GfJXk3d/S8Qhqbe03RKrtOPo=
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=M7Hh0XMpVeXiC2VNdfCKvy0M8vU=; b=cyjPk/lnAaArdzSlbZHuklZzbMH3
phdWuHiFZaHsv4GPGo+a0XVES+Eyn6waahnhI93B3/tdRh4Age+VduUkdLpVkR1w
da31cBOjsC8hJAO3jOHzs9zoyAW8aSzd7CBLBwSZqoaowzjcAqBl99CqZLr/AeMO
YL34LeDDVAdvGPA=
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: Fri, 14 Aug 2015 17:48:32 +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: <20150814154832.GK28349@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1437114390582-119766 DOT post AT n5 DOT nabble DOT com> <1438937297149-120365 DOT post AT n5 DOT nabble DOT com> <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>
MIME-Version: 1.0
In-Reply-To: <1439560143628-120519.post@n5.nabble.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

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=3Dauto", =
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 at a
> ldap_bind [ldap_init] that was called in the context of a symbolic link t=
o 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 logged t=
ime
> lag.=20
> As no files within the cygwin directory structure has been modified, it
> seems, that some registry information has been "healed" by the multiple
> fresh installations.=20
>=20
> PS: To do a fresh install I did a "backup" by renaming the original cygwin
> folder. The "restore" was done by renaming the fresh installed cygwin fol=
der
> and renaming the previous "backuped" folder back to cygwin.
>=20
> For me the issue is now closed. Thanks for your input.

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


Thanks,
Corinna

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

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

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

iQIcBAEBCAAGBQJVzg3QAAoJEPU2Bp2uRE+g1bkP/iAtqz9R8vWVaPtFDGJD8mYc
DM52Xme9w0jcv/l93ytb2t3Y6j12Obx1eQFGfm1+d7AIfO8pIw3djo/7m+UNr0BY
sLM3+zs35gdiu+1UsHT63E5rYfLB++dtUhHXU0vfSIlca6RRN0R9O8jbL0PpehFc
Jb0RBwyhk/i1Qz5CGlGTU+bKv90b97R2C2fzoYseJ+pvKQ5N6/O8mxPDNdfKAYDv
xC2pW4OLlHrZKURVZF4+gM2C6gMJZv3SzYtC+9IbvM0bILuFKEIgL+sPgB+yTbEN
dk3KmIQ9sSusXQYNTusZCNrwFwhElBjR47egY88D0v3lhQ/izjKaYpKNLUOQJ8ja
712jmwvGh/dtv2J40Q7KTj0r9NSj5glhiqlpMKGcB5pZGjiWlUa4i4mhxDZS0TOe
hQbjO7Me5l+ZEKzDW1AIREe5jXU6vz/2Poxsz/M5wLUxTErGacNxiW7mF7yk4xVl
i0ZQMGW0ztiolNBji2J5V8LPwMSpU7pN6tGwUxdX4bFJAl3rqaLUmya1R0HGfAnv
j9bSuHb7Kn+s4dmodh4v1L2/AAjx9DJckSVIpMqG5iDX/V6+4EDoCjSc3ryH5qh6
phcUrT7mVWBNr5QfnGL0XoN9tYmp/RCU/oDjoArvSmCwrkLSfrZJm71YlaE6yzkh
l/8Hfxi5LBWMhvkhrBbb
=TDIb
-----END PGP SIGNATURE-----

--ijf6z65S790CMqo8--

- Raw text -


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