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=YT9QE6SUBJ1G2ogCHmSu897Ok9nKBBByk7I8g+e/6Tl8zYfmADqt9 zuejQSpws/SKSkQ7l4Oc1aHLND2AFwSLAJwANeVWlu3vIi+X8137/bbiy2CFBkEJ p5eyMeQigiJMixyWTAPm5xAS1gcH71woG4taA9vCJi5CVom1WyOWNM= 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=naW3nL8wMKpP52juE9muSqd9mZ0=; b=ufJ4a+9a/TavWGmSSltB/o9Ukbuk l/XFAtlPKDoT1BPXeK7hHVJ38phxDop82+WlcTGRa1e1QshtvUj6g3vIXHFgU6aF Jhas+XUv+eNfy9T3ANY3UA+AqLrqDU3y/XJYN/9+Ca4EjEwJe02XxXjIoWHlt5x9 V9/Yva+h42djFW4= 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Fri, 20 Feb 2015 10:56:17 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.3 Message-ID: <20150220095617.GO26084@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <87d255htw7 DOT fsf AT Rainer DOT invalid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TXIPBuAs4GDcsx9K" Content-Disposition: inline In-Reply-To: <87d255htw7.fsf@Rainer.invalid> User-Agent: Mutt/1.5.23 (2014-03-12) --TXIPBuAs4GDcsx9K Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 20 09:25, Achim Gratz wrote: > Corinna Vinschen writes: > > This release introduces a revision of the LDAP calls done to fetch > > information from the DC. By limiting the search scope, the calls should > > now be faster even in bigger environments. Please give it a try with > > activated "db" settings for passwd and group entries in /etc/nsswitch.c= onf > > > > passwd: db > > group: db > > > > Please report back your experience, especially if you're suffering > > from "slow startup" problems. >=20 > I'm still suffereing from slow startup problems over VPN, but I don't > think it's the LDAP calls. As noted over in another thread the startup > of tcsh takes a long time to start over a slow / long latency connection > (the home directory is on a network share). And it's fast with other shells? Bash is reading/writing a history file, too, for instance... > About half of that slowness > is the history file load (saving the history on shutdown is also very > slow), so either tcsh does something really stupid there or Cygwin does > interact badly with how it tries to read/write these files. There is > nothing happening network or CPU wise, so it feels very much like > repeatedly hitting timeouts. I can't debug this. Care to strace it to find out where the problem might be? Is that a 1.7.34+ problem? Hmm. On second thought, this might still be an LDAP problem. I have a hunch, and it's related to https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nfs https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-samba But we need to discuss and debug this. From me crummy little home network I have a hard time to see issues like that. > Another thing I noticed is that pasting into an SSH connection often > leaves the last few characters off and you need to hit another key to > get them displayed. Not sure if this is related, but I seem to remember > that this had been reported before and may be a regression. One bug report at a time would be nice... This could be related to the changes in tty read/write related to https://cygwin.com/ml/cygwin-developers/2014-11/msg00000.html but I have only 24h per day for hacking and debugging, too. Sans sleep, sorry. > Lastly, running cygserver to cache the LDAP data has another side-effect > when using VPN. Since the cygserver is usually started before you've > dialed into the VPN, your username and some groups will get reported as > "DOM+User(12345)". You have to restart cygserver after the VPN is up to > correct that. Yep. We should contemplate to allow sending a signal to cygserver to invalidate its cache. Somebody would have to code that. Sigh. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --TXIPBuAs4GDcsx9K Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU5wTBAAoJEPU2Bp2uRE+g5cEP/jZh1k+f2AL08KrPeIT+D900 gtZgXHgmuZZwnXizglduV3OML9iBz1860c500mF80Tielfx8IfN3gPkUsOD/5tIi v/0Z0V9WIv/xh3WmMHOMjOeMgkwcUxqXnbL60a+djWrJxexf7IqrFbp0kOdC/Brl Smv0fuGuPyYmLwC/56njRHE8kicUs2EZrB5g888ZaNza2Le1a15lDtW+Kmixq3zc pIKVeb7cPFBb0G7i/1J143uZz8fuFFWRjWoEmeiF/UAZDGLvyjfwrDQZutUFGgOi QbhPZbq9HCzE+4UVFFazDb4JUHuQNf1db4zS1AQcnRhsPXhmpB2xa/0kFUpCM19U 2RobVhPhgBCQUWDWK512BwKL60hcE50cq1j4XvbptSXs/DrHKdr+o/Nbf5ld0us7 RgKdn4kf5DHznIfxl3vLB8PreTbvH6nIQ86WuD3T9H3wQ+3OBMJA9XQ2X67uQ04I yYgCdDnqvtOVGF+mFJHOGhmx4hYkGL6wuF8e/CQakMt1CU5bp6sgNqFkvtvnNJhH gAoIb5Bhi8/mTzZqS05ECo52XHiCAUllPe1M+fQyaKwN/aY83NKvQt73UHMsNhMG 0i+EUvsXclnyAvSoOczrlcqvErf4R2CR+lCZ0QbVr61q95XxEqiV0ggV3JMBFkKW Qa+V6+T5Sju/ZCpgrZgj =Q7Yx -----END PGP SIGNATURE----- --TXIPBuAs4GDcsx9K--