This is the mail archive of the
mailing list for the Cygwin project.
Re: Strange Issue with Launching Cygwin bash and other Applications
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: "Klemm, Michael" <michael dot klemm at intel dot com>, cygwin at cygwin dot com
- Date: Sat, 14 Feb 2015 02:39:37 +0300
- Subject: Re: Strange Issue with Launching Cygwin bash and other Applications
- Authentication-results: sourceware.org; auth=none
- References: <0DAB4B4FC42EAA41802458ADA9C2F82430059DC1 at IRSMSX104 dot ger dot corp dot intel dot com>
- Reply-to: cygwin at cygwin dot com
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
I'm wondering, where you were last year, when the development of new
authentication scheme released with 1.7.34 was ongoing?
Andrey Repin (firstname.lastname@example.org) 14.02.2015, <02:32>
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple