public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: commands spends time in cygheap_user
Date: Mon, 10 Aug 2015 08:40:00 -0000	[thread overview]
Message-ID: <20150810084019.GB1559@calimero.vinschen.de> (raw)
In-Reply-To: <1438977081850-120377.post@n5.nabble.com>

[-- Attachment #1: Type: text/plain, Size: 2428 bytes --]

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 command
> 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

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-08-10  8:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17  6:26 pen
2015-08-07  8:48 ` mku
2015-08-07  9:06   ` Corinna Vinschen
2015-08-07 19:51     ` mku
2015-08-10  8:40       ` Corinna Vinschen [this message]
2015-08-10 12:00         ` mku
2015-08-10 16:01           ` Corinna Vinschen
2015-08-12 11:59             ` mku
2015-08-12 14:47               ` Corinna Vinschen
2015-08-14 13:49                 ` mku
2015-08-14 15:48                   ` Corinna Vinschen
2015-08-14 20:20                     ` Corinna Vinschen
2015-08-15 11:54                       ` Corinna Vinschen
2015-08-16 12:50                         ` mku
2015-08-17  8:07                           ` Corinna Vinschen
2015-08-17  8:13                             ` Corinna Vinschen
2015-08-17 10:10                               ` mku
2015-08-17 20:55                               ` Corinna Vinschen
2015-08-17 21:04                                 ` Corinna Vinschen
2015-08-18  8:17                                   ` mku
2015-08-18  8:30                                     ` Corinna Vinschen
2015-08-14 13:49             ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150810084019.GB1559@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).