X-Recipient: archive-cygwin@delorie.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=Kg9+ML8+q5Y7hJrwxVIH5CReSTpKj
	46A0YbXUEmp6q0CWOO3qjvKXm6A48MAnjvK+SPGvOpaInX+eW+ekI5Z7Sstl1HBM
	PkY5qL8IAb+wI9FokfGWL/Pqz5QaiTNBnnkhu2d6BldgblYGYhLR5Ka+wb9KsrqM
	/mLLaaaJXO30k4=
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=K+MLtI3oKJpmsaQEAUZ4BaIph9c=; b=V4B
	eXFIqKzrV3DFqwAWLIkgd5LKEdUos9I4wdAKuSnu3IJCEt6Dxfyg2n/Xwnilt/wG
	RWr0klsTHR1hDaiCZpRCaTjvm1b2bIoNzCShqhljUF5UIzymXfd2uRUpbZmEW29j
	PrpJwUY3zKu3VXaiUNeq7UXNOzkS3JUHM7aCeSIY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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-6.cisco.com
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AjBQD4+NhU/40NJK1cgwaBMMBPiBcCgRtDAQEBAQEBfIQMAQEBAwE6TwIBCA4UFBAyFwENAQEEARqIHQjIXQEBAQEBAQEBAQEBAQEBAQEBAQEZjyEmOIMWgRQBBI8bnBwig26BckF+AQEB
From: "Dennis Hagarty (dehagart)" <dehagart@cisco.com>
To: Achim Gratz <Stromeko@nexgo.de>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Very slow Cygwin startup on Windows 7
Date: Mon, 9 Feb 2015 18:18:04 +0000
Message-ID: <3FEEC3A37A0B0A48AA326075128C32EE4DC9F137@xmb-rcd-x01.cisco.com>
References: <3FEEC3A37A0B0A48AA326075128C32EE4DC9F0E8@xmb-rcd-x01.cisco.com> <87mw4nugdx.fsf@Rainer.invalid>
In-Reply-To: <87mw4nugdx.fsf@Rainer.invalid>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t19IJ9B6001846

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

Thanks for the assistance and explanations.
Cheers
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


