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:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=hD8v60fDenc0qYmIt089e/e+1Bbrk /Y4544UYDgkvqe8OiYWQqRCOjMXJII6kqnykfUKdMjyFiecPyR6KoZJ/TEv9vfIS GE0bdkp9Byr3pYtdLsnN5UD7XEyqm9l6QnkE04z+GwHwz2gxYf2hm0GNGP3E+TmB dw2fpvOEhH3G8Q= 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:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=Z6jlc9x0Jpx5WiMlBxWp4FoQNpo=; b=xZI dBye/wR5oEDuJTteQWkkOytXkodWnBTGQ8m5yR0Yv4bS2YASzpYq6LlQxDQya5zL sZJTYn1INusCmYez6LCM1T7eSR+n5h0VXx5mtsa8CCaXr8eOaLjTDr1og1MlLHX4 Z264KRG7M35cLC212Uf5Ld8RyT3lhseLIdsgUw/U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.8 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,MIME_BASE64_BLANKS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: alln-iport-7.cisco.com X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DSBQCcB9lU/5BdJa1cgwZSWgSCfr1RgiaFcQIcgQBDAQEBAQEBfIQMAQEBBCMRUQQCAQgRBAEBAQICBh0DAgICMBQBAgEFCAIEEwiIJQ2ySJYaAQEBAQEBAQEBAQEBAQEBAQEBAQEBEwSBIY4AJjgGgmIugRQFjxuDUIZ0gwOCRowPIoNub4EDQX4BAQE From: "Dennis Hagarty (dehagart)" To: "cygwin AT cygwin DOT com" Subject: RE: Very slow Cygwin startup on Windows 7 Date: Mon, 9 Feb 2015 19:17:50 +0000 Message-ID: <3FEEC3A37A0B0A48AA326075128C32EE4DC9F1A0@xmb-rcd-x01.cisco.com> References: <3FEEC3A37A0B0A48AA326075128C32EE4DC9F0E8 AT xmb-rcd-x01 DOT cisco DOT com> <87mw4nugdx DOT fsf AT Rainer DOT invalid> <3FEEC3A37A0B0A48AA326075128C32EE4DC9F137 AT xmb-rcd-x01 DOT cisco DOT com> <20150209185129 DOT GH5633 AT calimero DOT vinschen DOT de> In-Reply-To: <20150209185129.GH5633@calimero.vinschen.de> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t19JQPVs008459 Thanks :-) I saw that, but it didn't quite sink in that this was my problem. Cheers Dennis -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Corinna Vinschen Sent: Monday, 9 February 2015 19:51 To: cygwin AT cygwin DOT com Subject: Re: Very slow Cygwin startup on Windows 7 On Feb 9 18:18, Dennis Hagarty (dehagart) wrote: > >> 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. > > > >Limit the number of entries that Cygwin fetches from the DC. Also, > >starting a cygserver would help. > > > >> Not sure what changed here, I have a very good connection to my DC, > >> but obviously something wrong here now. > > > >You may be surprised at how slow a DC really can be when it sees some > >load, regardless of connection speed when you try to fetch several > >thousand entries. If I were to try a 'mkpasswd -d' on our DC I'd > >usually have to wait about an hour with very little network traffic to > >show (the resulting file would be about 4MiB). > > > > > >Regards, > >Achim. > > Thanks Achim - I've recreated my passwd and group files to be sure. > I checked some domain lookups and they take a second or two for each entry - quite slow. > > So, I'll leave nsswitch where it is for now and I've started cygserver. > > But I'm just wondering how this failed after I updated - I was using it successfully 30 mins previously. > I've had it configured this way for years. https://cygwin.com/ml/cygwin-announce/2015-02/msg00009.html It helps to read the announcements ;) Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat