delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/09/12:37:20

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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=OPo
ueVxngzbH3hAsLW9ZTxF/XW+p7AoAzbD+YM6ey1mTgN1jPsKcsgu8Y/4J6wcFfEE
ZA1vu3Bzl/h/pcIlvH/BprdTLPBjH7va7qmrwbC+ENbF+Oge6wyh7ubRX7rdd/4H
WnVnNj4X+RnJXzgKi9aktNlk2KVat/pYkEpdcdzc=
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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=uitEGBybq
C0x1TZGfDGENamihkw=; b=ReLVt0gqnAy+9ax4Imp1DC//BK3ooJhiZLG5QInQX
QprnuDmYagV0dQ8vTYq4LoU7EDh7Q1la06C1mi8PswqIygb/4GpkV6vrmWKZpu22
sYSHITQ8RQ87bftu+V0PCMDBxzBGBPVLtEmjdNVs1/cOz5RS3IiuLNa7P4vjOYV0
yU=
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.9 required=5.0 tests=BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: alln-iport-5.cisco.com
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BIBQDo7thU/5JdJa1cgwZSWgTAT4ImhXECgRtDAQEBAQEBfIQMAQEBAwE6UQEIIgwBB0IXAQ4BBBuIHQgNokulXAEBAQEBBQEBAQEBAQEXBI9HSgGDA4EUBY8bg1CDV4MdixuCf4M+IoICHIFQbwGBAwcXIn4BAQE
From: "Dennis Hagarty (dehagart)" <dehagart AT cisco DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Very slow Cygwin startup on Windows 7
Date: Mon, 9 Feb 2015 17:36:02 +0000
Message-ID: <3FEEC3A37A0B0A48AA326075128C32EE4DC9F0E8@xmb-rcd-x01.cisco.com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t19HbEwL030815

>> Hi,
>> 
>> I've been a long-time Cygwin user and become quite dependent on it.
>>
>> So, I'm in a bit of a pickle since I did an update from a mirror site today, and now my Cygwin window startup takes about 3-4 MINUTES (it was < 2 seconds before).
>>
>> I'd been using it and all was well, and then the update seemed to 'do' something which results in this behaviour (there were quite a few updates).
>>
>> I have been through the archives and tried what I could find - It's certainly nothing to do with bash completion.
>>
>> Login from a remote machine to my Cygwin-enabled device is normal.
>>
>> Also, I can start multiple minitty sessions from one Cygwin window and it's almost instantaneous.
>>
>> But clicking on the desktop icons requires a multi-minute wait.
>>
>> Any ideas where to start?
>> The daemons/services seem to be fine. 
>> There are no entries in the event log.
>> There are no resources being consumed.
>> I've taken out my .rc and profiles files and no difference.
>>
>> I'm happy to go digging, but I need a pointer of where to dig.
>>
>> Here is the output of my cygcheck:
>>
>> <snip>
>>
> Does changing /etc/nsswitch.conf help?  If the file doesn't exist,
> what if you create it and then set the passwd and grouip entries
> to
>
>  passwd: files
>   group: files
>
> Then start another mintty via the desktop shortcut and see if it
> starts faster.
>
> If that's the problem, you seem to have a slow or unusable connection to
> your DC.  Unfortunately you stripped almost all usable information from
> your cygcheck output, like environment variables, etc.
>
> Corinna

Sorry, I only meant to edit out the UID values from the DC.
Here is the full list of cygcheck --sysinfo --verbose: https://dl.dropboxusercontent.com/u/33069639/cygcheck.txt 

Well, nsswitch.conf was a good suggestion - I'd left it as the default (which is empty), but I added a 'files' entry and it came good again.
Changing the passwd and group entries to 'files db' makes it very slow again.

Not sure what changed here, I have a very good connection to my DC, but obviously something wrong here now.

Thanks
Dennis

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