This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strange Issue with Launching Cygwin bash and other Applications


Greetings, Klemm, Michael!

> After the last restart (and maybe also after an update of Cygwin last
> week), the first start of bash takes hideously long (about 2 minutes).  The
> same happens to programs like latexmk:

> $ time latexmk --help
> Latexmk: This is Latexmk, John Collins, 10 January 2015, version: 4.42.
> [... more output ...]
> Report bugs etc to John Collins <jcc8 at psu.edu>.

> real    1m39.914s
> user    0m0.000s
> sys     0m0.015s


> I did an strace on latexmk and it seems that something is querying the
> Active Directory of my computers domain through the VPN:

> 1047703 1224686 [main] perl 11652 pwdgrp::fetch_account_from_windows: line: < XXXXXXXXXXXXXXXXXXXX>
> 513639 1738325 [main] perl 11652 pwdgrp::fetch_account_from_windows: line: < XXXXXXXXXXXXXXXXXXXX >
> 525120 2263445 [main] perl 11652 pwdgrp::fetch_account_from_windows: line: < XXXXXXXXXXXXXXXXXXXX >
> 522731 2786176 [main] perl 11652 pwdgrp::fetch_account_from_windows: line: < XXXXXXXXXXXXXXXXXXXX >
> 518198 3304374 [main] perl 11652 pwdgrp::fetch_account_from_windows: line: < XXXXXXXXXXXXXXXXXXXX >

> [I replaced the true group/account names for privacy reasons.]

> Each query takes a little while and there are lots of them.  Some even take
> longer than a second.  This continues for quite a while until latexmk finally prints its help message.

> I have found the queried the log of cygcheck.

> How can I convince Cygwin (or one of its components) that this is bad idea and to avoid it?

This is not a bad idea to query actual information from AD, instead of using
potentially stale flatfile database that was used prior to 1.7.34 release.
However, it may be going a little too far in this regard. You can probably
speed up the process. Please try the 1.7.35 (experimental) Cygwin version (in
setup, click on the twister against "cygwin" package until the required
version pops up).
For further information, please refer to the
https://cygwin.com/faq/faq.html#faq.using.startup-slow and recent discussion
starting around https://cygwin.com/ml/cygwin/2015-02/msg00195.html


P.S.
I'm wondering, where you were last year, when the development of new
authentication scheme released with 1.7.34 was ongoing?


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 14.02.2015, <02:32>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]