[ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.3

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Feb 20 11:36:00 GMT 2015


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.conf
> >
> >   passwd: db
> >   group: db
> >
> > Please report back your experience, especially if you're suffering
> > from "slow startup" problems.
> 
> 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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150220/14486b5c/attachment.sig>


More information about the Cygwin mailing list