This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Very slow Cygwin startup on Windows 7
- From: "Dennis Hagarty (dehagart)" <dehagart at cisco dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 9 Feb 2015 19:17:50 +0000
- Subject: RE: Very slow Cygwin startup on Windows 7
- Authentication-results: sourceware.org; auth=none
- 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>
Thanks :-)
I saw that, but it didn't quite sink in that this was my problem.
Cheers
Dennis
-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Corinna Vinschen
Sent: Monday, 9 February 2015 19:51
To: cygwin@cygwin.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