delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/18/06:15:35

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:to:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=aRv61NdhCnd3Cyfivu4WzPv5BYj+oASuLYf1oGyKb5e+QkEP1WPNa
H4fUPbl9iJ62G2/CdwKOA0TIcplRn4DschOMu2dOi8dmFXijlr/iriCAhU2vlzSf
p2ivygl3PGTtBBByXJCKN1jRqCitC0qtoS4/9EI9Joyv8cGBdO3uFI=
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:to:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=c+YKQe8ldl2HcXQAPzJMcApK44k=; b=SN3PqosxD47/VUpW6NevkbbiwE8F
gwFNreYlpgGpziYBzQ4zfZSyJ+D5k1GSIJoacPh8hh8csCU+fvPib2afRAA6p2zF
79aa7XbVVGPJklahOU+g1cawQYEogJA30g/VSyWOHcJGshVaGuTMwmiAvuWTf8Jf
o6o6uXvLi6MxoXk=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 18 Feb 2015 12:15:15 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: "Dennis Hagarty (dehagart)" <dehagart AT cisco DOT com>
Subject: Re: Very slow Cygwin startup on Windows 7
Message-ID: <20150218111515.GL8493@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, "Dennis Hagarty (dehagart)" <dehagart AT cisco DOT 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> <869208266 DOT 20150210030528 AT yandex DOT ru> <3FEEC3A37A0B0A48AA326075128C32EE4EE263B8 AT xmb-rcd-x01 DOT cisco DOT com>
MIME-Version: 1.0
In-Reply-To: <3FEEC3A37A0B0A48AA326075128C32EE4EE263B8@xmb-rcd-x01.cisco.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--vj77qGokqwYdeLil
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Dennis,

On Feb 17 10:23, Dennis Hagarty (dehagart) wrote:
> >> 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 e=
ntry - quite slow.
>=20
> >> So, I'll leave nsswitch where it is for now and I've started cygserver.
>=20
> >If you are accepting suggestions, and up for some experimentation, try t=
his:
>=20
> ># getent passwd $(id -u) > /etc/passwd
> ># getent group $(id -G) > /etc/group
> ># echo -e "#\npasswd: files db\ngroup: files db\n" > /etc/nsswitch.conf
> >
> >and start bash without cygserver running. Just for test.
> >The idea is to have "your" groups in files so that in simple case of (ju=
st
> >startup" Cygwin don't have to talk to DC all too much. If at all.
>=20
> >You'd still need to run cygserver to benefit from long-time caching, tho=
ugh.
>=20
> Apologies for my slow response - urgent RFI's.

You didn't reply to my suggestions.  But, anyway.  Due to the nice
report in https://cygwin.com/ml/cygwin/2015-02/msg00511.html I now
came up with a new Cygwin test release 1.7.35-0.3, see
https://cygwin.com/ml/cygwin-announce/2015-02/msg00133.html

Can you please try this test version without cygserver, and with
the passwd and group settings in /etc/nsswitch.conf set to

  passwd: db
  group: db

It would be very interesting to know if this improves the situation for
you.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--vj77qGokqwYdeLil
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU5HRDAAoJEPU2Bp2uRE+gC2QP/0/M3EkxoL944dzlJhcclsju
KwpUJushq3kMS4IU1JlbR9GFdPL8M5jUvbfaLD9t5PGTNf55KigT/EgO1BMKHXDY
4+4++EaGNGUhqOFla3KP3OTr+uSd3jAQ3vIaKjS1G+lyWo9SUP02xxqBURYfFafS
xL4qjhsa6zsfTyj2J8+r59BgYOAh/q8ULwXGovnxPgktemJMGulzEEGFTWntnUtO
BiZra/zbktrh1mxsChj4s/wkpWbB+cxXTfedyKubaG3gZHMd3Ryx3HrjShfG9PmR
R67mL35dGZjz7MGEbuEWaciDwrjlaeLxY8/y0FiXt8FOWq1BthWqXvj8h8OQe5t3
8JYwBaLPWSRrPo1pTbJVBvxi2XnnCoiRxMHfhlmXnIVPvarNVZWszpUxQzMU58wC
q+V0fIc6Jq5VELtWK+2EJirDwfPF1NeFHMWbgHuJLvBzL9gevjj39qCLqZXU+WYX
f+wkTmKIh7cPF80DHPyYnEMCdh1G+d4w1vvFl5ekndOOj/d6wKXBQlUy6EjdACrg
SXcAq/3TtgyOyK6dS9hkQ/yZ2oyWDIGQs47+Ed8FmOCX/Ro05d3mDg2RCfCPz1Pn
PSQnpTsQRP04EG1yKw6Q8RQYUQDj97RXwiOgheaxemlnAzZHpqb3qSErbRFDuq/v
YmRMIcCLw7H1r5IRl2gZ
=gWiu
-----END PGP SIGNATURE-----

--vj77qGokqwYdeLil--

- Raw text -


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