delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/19/19:30:18

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:mime-version:content-type
:content-transfer-encoding:message-id:date:from:to:in-reply-to
:references:subject; q=dns; s=default; b=m8UfG7X8mI8kqfDLvhjMvde
Z8iW2ebx1HoefBAvdgqQEkn98KUegQM6A7oK+13wzaHdspBO/9NlV6Ka/mRWdhuK
l7iXoD+zZ87mjl66EYIKqf/3gZ8GIIECshrDhEkvSMWp4vlvo2rTLc7AG4gxDkSS
LmcTqIxiO09r7KnarbIw=
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:mime-version:content-type
:content-transfer-encoding:message-id:date:from:to:in-reply-to
:references:subject; s=default; bh=k+sI2JKJw5ZwvSTPgNJD6zcrGls=; b=
Qo4xP96mKuer+01t6BiM8WSZseFa+j1islGDpZEwbiVoVcUR6nQ6WpXNBvu5NNqy
EUjQ1/75VSiHep+ZRZ9PQwFKt/K50Sxz3auIgsPuP2nMDV/FAdxzbjD0eUnGlefK
v36qLont9w9sFgGeBzn8em5lbIoIcQ61rS7z4wHivrk=
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=2.1 required=5.0 tests=AWL,BAYES_00,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2
X-HELO: sneak2.sneakemail.com
MIME-Version: 1.0
Message-ID: <4693-1424392196-203662@sneakemail.com>
Date: Thu, 19 Feb 2015 17:29:52 -0700
From: "John Hein" <3fbmqnhaz4 AT snkmail DOT com>
To: cygwin AT cygwin DOT com
In-Reply-To: <20150218105937.GA28211@calimero.vinschen.de>
References: <20150218105937 DOT GA28211 AT calimero DOT vinschen DOT de>
Subject: Re: TEST RELEASE: Cygwin 1.7.35-0.3

Corinna Vinschen wrote at 11:59 +0100 on Feb 18, 2015:
 > Hi Cygwin friends and users,
 >
 > I released another very early TEST version of the next upcoming Cygwin
 > release.  The version number is 1.7.35-0.3.
 >
 > 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.

Without 'files' in /etc/nsswitch.conf or 'cygserver' running, the
testing cycle here is slow.  So I've been a bit delayed at reporting
back.  I know some people have alleged wonderful speedups with
1.7.35-0.3, but I can't report the same.

Here I'm in an AD environment with ~8000 entries in AD (as determined
by 'mkpasswd -d | wc') and I'm in 200+ groups.  I guess I'd call it
somewhat large, and the network is geographically spread out and
connected by links that vary in speed (the slowest is probably 10s of
Mbps), although there is a local AD "slave" on the local LAN.

It's particularly slow if I force using my shell of choice (tcsh)
rather than forcing '/bin/dash' as the 'db_shell' entry in
nsswitch.conf.  This is likely because of all the various things that
get executed at shell startup (csh.cshrc, profile.d/*.csh).

Just to avoid any possible cruft from my old cygwin install, I
installed a minimal fresh cygwin.  The only change was to
nsswitch.conf:

passwd: db
group: db
db_shell: /bin/dash

Starting mintty with db_shell set to /bin/tcsh has taken up to a half
hour before the prompt appears.  I don't have a complicated .cshrc
(just a few alias definitions & 'set' commands).


Also mkpasswd -d seems to be taking a long time (haven't had it
complete in hours now).  That didn't happen with 1.7.34 - maybe
there's a local issue here on our network.  What's a good way to debug
what's happening with mkpasswd?  Seems like its not doing anything.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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