delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/19/04:21:52

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:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=xghQ6hPF+BEWLmOPRO6cups96r9XbxEr1fjIEkD8XoZytOnU9lyjJ
iH80C9SFoOPqgm16tAyXR0MN4f3RwYxAER7MrVe2mOzd/RxTcEFnMpFvnbhSzn/I
GI7Su91H/gigiJqj8Sirzd3bdR+3sg+n+dlS4DmkzeuUMAYF9N49fA=
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:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=Dl1QxcozI1a6l3mL/3+mRgku45M=; b=UhQ7xx3NKTvukTU99aGnyDjy7GUM
LYDDqJTNo02i9+kavX6ddRXjfC3X4uT3IqTjbPmkwe+aJOBr2LYApwpe1klZSbLs
RV8CWUFjA/gX/x60JITa4Rmnf9YEPnRkLdDid0ZR1Y3Otk9GM2M3uUaajyaJQMwR
+spqhFfxyuZzPus=
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.2 required=5.0 tests=AWL,BAYES_05 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Thu, 19 Feb 2015 10:21:31 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: slow startup after upgrade
Message-ID: <20150219092131.GA26084@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20150218125230 DOT GA30611 AT calimero DOT vinschen DOT de> <383CA55450B14EAE87C730462A2C51E4 AT Tamar>
MIME-Version: 1.0
In-Reply-To: <383CA55450B14EAE87C730462A2C51E4@Tamar>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Feb 18 22:01, Roger Orr wrote:
> > > and also it no longer opens 14
> > > TCP/IP sessions to various ldap servers around the planet (!)
> >
> > Uh, that might be the result of the other changes which don't open an
> > LDAP connection to fetch group info.  14 connections probably means,
> > you're in 14 groups in other domains than your login domain.
>=20
> There weren't any other LDAP requests logged (I was testing with the first
> patch 1.7.35-0.1 that reduced the time for running "echo.exe" from 120s to
> 4.5s) so I don't think it was related to another query.

When you start a Cygwin process from a non-Cygwin process, Cygwin will
try to generate passwd entries for your account, as well as group
entries for all groups in your token.  For the group entries it only
needs LDAP calls if a group is in another domain than your login domain,
and the request only goes to your own DC.  This entire set of LDAP
calls are supposed to share the same LDAP connection.

I don't know what Windows is doing under the hood, but in theory there
should only be a single socket open for this.

> I may be able to
> test this out again tomorrow and get the call stacks of the connect calss.
>=20
> Incidentally how can you tell the patch level of cygwin1.dll -- the DLL
> versions all seem to be 1007.35.0.0 ?

The versioning system isn't able to handle subversions.  As marco wrote,
uname -a (the build date or uname -v) can be used to distinguish the
versions.

I'm planning to change that at one point.  It shouldn't be too hard
to add the subversion to the DLL properties.  uname -r is a problem,
though, since the info already takes 18 of 19 allowed characters...


Corinna

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

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

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

iQIcBAEBAgAGBQJU5asbAAoJEPU2Bp2uRE+g5ygP/2Oq00dKxrcb0W0KDqcx2tvz
QHVnpH4JHmfRf+MDIKTkKyUIJNOdDIUZnRzDIOFJd+9fJhcTwiKMItM6Fjt6hGCN
M2oI9Kuz6KBPSUwjxEbSPyHGPg53fCIeTnjfyxPBgCaUU+ACanuGEwsmHsQGc+OV
movm7B4rOa/02GRpr5JnEqkvLsuM6cZOwaoB3W14WCRBbRCZknRQkH5M0KpGf2ok
4+rc+Tmt5bdRXPhtSTpydz6jqSmGyJxWxdtQUms4phjGjCLHNzzhBG440whYro35
nffU9vfYKhoPt2f7IqsPMau2nq9KGV6NbEqiWWOUrkm1skQ0n7IC/iXwYdXq8gb1
eh+EzrziI3ktMm68bJEy37DMWFV84VS9eKzWWGN3Eoy2Q797zLJrvyJXP2I+86vH
1fJH4c81xkD+OOGl693i4aZoZ5WUPWtWqGnDt32kAJRI5uHdwELFioqlhxgeOZO/
b4e1Pr8eyoVwQf3J0kd1ATOucAzmp3FEC+WqzqMv+yd98BPOmu1mOVgCpJTMFRwj
3WahcfWSHo0ANT38cZx8WS/AwwlSf4GveJolnPCpwkG38ui2ps93hJ9clgWZLmcJ
YVkQAyY74pwJY6GzZ4ZqRjMR2D2xw0YX07a82B/aNQeE5zvti2Jl5QcM2MGPgNcL
O1oIep26ZA0n44nbE5kH
=QDPF
-----END PGP SIGNATURE-----

--pWyiEgJYm5f9v55/--

- Raw text -


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