delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/13/18:51:23

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=F2lOtTOgRDozXyl+
kK1lGVjcQvob09XonZNgigkGO2I6YUwlZfFKJ80e05P5ldp/n+EZdi02j9BeeWE0
8e6WeTdUxWxxaeYKJck1bWpwo/UeACuPHrBeh0HSU639GEbnkmQUW+lwTUMKYLsA
9lA7pwqynnROkjG+JHobqtQ8h8c=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=dKSc2/goXwSBL8X5q54WC9
oGyHM=; b=V/3TkUR3tzxjRdGS/hEcFO3szhrWJyIoXZ+Be5kaheJ9/+EEI0SUth
R/9KevstiZnvZmm8iVMir23CUJlIgJWvB9KaS85ZnKm1opGts9UMRwi2H1crDEN8
nUgnxHhlqpeItDM+i9VP07tpyt9gOkOxqVQLx7Y786ccB/cga0WJA=
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.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Sat, 14 Feb 2015 02:39:37 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <447063137.20150214023937@yandex.ru>
To: "Klemm, Michael" <michael DOT klemm AT intel DOT com>, cygwin AT cygwin DOT com
Subject: Re: Strange Issue with Launching Cygwin bash and other Applications
In-Reply-To: <0DAB4B4FC42EAA41802458ADA9C2F82430059DC1@IRSMSX104.ger.corp.intel.com>
References: <0DAB4B4FC42EAA41802458ADA9C2F82430059DC1 AT IRSMSX104 DOT ger DOT corp DOT intel DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

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 AT yandex DOT 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

- Raw text -


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