commands spends time in cygheap_user

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Aug 10 08:40:00 GMT 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150810/c095ccce/attachment.sig>


More information about the Cygwin mailing list