delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/10/04:40:39

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=Kah5puwk3Knzr8Yhplwu0jXs0/lc5wQ9IPftrrKSxrY/HabVgoNwF
4ZG8tr/1VKviWP1XI3aMh5eJQgx2qgQsObasAkdR+FpZ9+Xr6WrQHBm8TdwvdWrg
cOALm48gSYVYcDkJnCF96SasPK4DUUpcAuxP7ZE6ikoG7e3CaDmzQo=
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=4GNbof4tF9Hu2s0miL6A4WFmsvI=; b=sM5fb48HxFD8ytVYmWEjnK6qabXD
LuYh2N4RA+shoSuQP3fWCvd9Zxh01WToQBWV5sEcc+Je/a8YnpRsFa1cig8+lPCV
Fg9bvNVpBC3hkxJi1jhetoKKh7ozd9jquS/IBjSJmhlCom0M/n+OVzRCQmqANht5
Yty2CN0omuuN884=
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=-1.1 required=5.0 tests=AWL,BAYES_50,FOREIGN_BODY,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 10 Aug 2015 10:40:19 +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: <20150810084019.GB1559@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>
MIME-Version: 1.0
In-Reply-To: <1438977081850-120377.post@n5.nabble.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Aug  7 12:51, mku wrote:
> Dear Corinna,
> thanks for the tip, but I had done it before (and modified it to my Needs=
).
> To be safe, I did a complete fresh Installation and made the passwd and
> group files as described. But the result is the same as before (a ls comm=
and
> takes 5 to 10 secs to complete for a local Directory with 10 files). The
> main time lag is after the Win dll load:
> +++ 8< -------------------
>    46   12959 [main] ls 588804 client_request::make_request: cygserver
> un-available
> --- Process 588804 loaded C:\Windows\SysWOW64\advapi32.dll at 76B80000
> --- Process 588804 loaded C:\Windows\SysWOW64\msvcrt.dll at 762B0000
> --- Process 588804 loaded C:\Windows\SysWOW64\sechost.dll at 75870000
> --- Process 588804 loaded C:\Windows\SysWOW64\rpcrt4.dll at 76620000
> --- Process 588804 loaded C:\Windows\SysWOW64\sspicli.dll at 75760000
> --- Process 588804 loaded C:\Windows\SysWOW64\cryptbase.dll at 75750000
> --- Process 588804 thread 588956 created
> --- Process 588804 loaded C:\Windows\SysWOW64\netapi32.dll at 74E90000
> --- Process 588804 loaded C:\Windows\SysWOW64\netutils.dll at 74E80000
> --- Process 588804 loaded C:\Windows\SysWOW64\srvcli.dll at 74E60000
> --- Process 588804 loaded C:\Windows\SysWOW64\wkscli.dll at 74E50000
> --- Process 588804 loaded C:\Windows\SysWOW64\logoncli.dll at 727A0000
> 4519662 4532621 [main] ls 588804 pwdgrp::fetch_account_from_windows: line:
> <INTERAKTIV:S-1-5-4:4:>
>   907 4533528 [main] ls 588804 pwdgrp::fetch_account_from_windows: line:
> <KONSOLENANMELDUNG:S-1-2-1:66049:>
>   751 4534279 [main] ls 588804 pwdgrp::fetch_account_from_windows: line:
> <Authentifizierte Benutzer:S-1-5-11:11:>
>   718 4534997 [main] ls 588804 pwdgrp::fetch_account_from_windows: line:
> <Diese Organisation:S-1-5-15:15:>
> --- 8< --------------------
> Now the "pwdgrp" logs are shown before the "cygheap_user::ontherange".

Something's wrong with your settings in /etc/nsswitch.conf.  If the
settings are correct:

  passwd: files
  group: files

then the method pwdgrp::fetch_account_from_windows() will never be
called.  It appears that the nsswitch.conf setting is not right, so
the default setting is used:

  passwd: files db
  group: files db


Corinna

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

--CUfgB8w4ZwR/yMy5
Content-Type: application/pgp-signature

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

iQIcBAEBCAAGBQJVyGNzAAoJEPU2Bp2uRE+gs8MQAJBLN1Nx6eSQM0fdktVfJc3/
BYz7uCo831+KGQX9mVE3yOOs+SB+TOr9klh77yHIj/ZR+dBVurG9JDiBtw+AicDZ
9FTpUgv6y8Gg7NqD24muN+vZ+qRSzVXYbeutYm8SSLGkgdZ1Z8biBSGgzEh/HlEU
S0dU1M6pKver/7OGrOpseaP5oj7/ETLnpwq1UtANa5bGRHRtuoAj1PCtj/mfKZsb
i6EBkBRT9CAL124F20H6vrJ6obXi2m7xSmUdWto2V75ZN7NmIG9f3KqZv/2AbPV0
jwLRAdp+e7Qvc/O5rk/ucNOmEfXiVICn9bC39z7Xn89ahTQu5CuXhpkQDDF7IHpS
iHUysJu8+mzsO2cOLlWS2DnRVFfKBgcupP2FAgkANg6foJhBliif0jyAJXLORm8O
9dTmXZ/D74v0E0b3/8kIO9NxEmz9cdQtjZ0yyeKGxTsyOJyGy8aJzvOM+mOY9uRp
s4BUa6dcW6TITm8hMxZEJ+aNo8NJLZ82bsL97E35nrUmp7QPw4NwW9UPa9roj649
TO/JrfJ2A/vuf5cRxzD2AcojCGArS3nmvhaTtw479NL80CYMJMbAYldlfiexKBZa
nu3e/dlHZKiudK1yBMaBiBZJk5tNdwddfI7qp61Q2OifFjhBW/3mO7yJuZgrCLkx
65a+C+45IWDQp1Rwq5xT
=oLGn
-----END PGP SIGNATURE-----

--CUfgB8w4ZwR/yMy5--

- Raw text -


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