This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.3

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

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
but I have only 24h per day for hacking and debugging, too.  Sans sleep,

> 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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgp6TGBuaHR7D.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]