delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/07/05:07:05

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=LQODvphLatPTYiRDc6+bex9rmoqKogu5MiKuBiPmkI0sd4WTZavLW
i8dvNN7AB2Vowl88Zb+2u9TeZXldOWxzQOrgP+jWDKoem9Xkfw2aMQOkg5f5nDwz
GWlKfLea3pSuzh9x2ZGpYuc+FXEfld5h8IEpcxHCHRLCW/KQwZFnk8=
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=yLygkyohQMERpQJa0yTl2t6Ofho=; b=HV1OL/6N0YQvyl8mk76loaHbR59F
bz9glKdfwT7jU553aRl9cP7a0r15x7tTvDjDTSbwQH+bsSvXO2n9dm3WmZ8p4uAO
x7VPNeb/oxqUqT09qRwm9SU+Y+lBpwrWq6/P+x03CU9tC6YKTUwVuvr7e1JXU6hr
n50bAeL2qwl+Gmw=
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=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 7 Aug 2015 11:06:46 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: commands spends time in cygheap_user
Message-ID: <20150807090646.GB12475@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1437114390582-119766 DOT post AT n5 DOT nabble DOT com> <1438937297149-120365 DOT post AT n5 DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <1438937297149-120365.post@n5.nabble.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Aug  7 01:48, mku wrote:
> In order to find the reason for the delay in processing the ls command, I=
 did
> some investigations with the following results:
>=20
> As I wished to use cygwin in a local environment that is not permanently
> connected to AD (mobile device), I modified the file /etc/nsswitch.conf
> after having the long lasting ls command to the following contents:
>     passwd:   files
>     group:    files
> After rebooting the effect remains (ls commands took about 5 sec to compl=
ete
> for a local directory with 10 files).
>=20
> After that I enabled the VPN tunnel to the AD domain and tried the ls
> command again. To list the 10 files it now took only 0.9 sec.=20

Sounds like you forgot to create correct /etc/passwd and /etc/group
files.  Switch on your VPN and call

  $ mkpasswd -l -d > /etc/passwd
  $ mkgroup -l -d > /etc/group


Corinna

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

--5/uDoXvLw7AC5HRs
Content-Type: application/pgp-signature

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

iQIcBAEBCAAGBQJVxHUmAAoJEPU2Bp2uRE+gNqIQAIFvSzyXkrhgpy9Gzgz5QvlV
1FKziothaxREdxPyZUxEB6QP8tiBRu+pcVO/v+3+r5yTDtdA6li4HE2ivuYIM7fs
NsO8rmQNMHhQ0CWeGdb6fhBg/+H/jX0kN3y5BP2zoC2zRvOeM0L/uF5McpxzRGsd
XJYfq3bsx4aK00ZIzHgWx2qjZ6O7eP4x0mNpl1FM8Jq/EAW+LZgp27qisyfDxrG0
o6caEhaIMT06g9/cnM6knXNzp6JCubgkGVKGM5ywPyquL6m6QujMP63G+YLPz1yi
Xfkf+fvVb72mEbLn94Qhu96GAO1QAW36IUyPzA5xgx6cHetu7Ci5Wr9YCjh70/cc
gvYtCoa8tH8REnMgxwd9xxVCEri6aVcQCSUB0XxtUkAZLi13ku+4BhwHx3p9UFuv
DOXCrF4Tn9Oqq0LrK3boLFWWnqMZ4aPES9DD1LdcDvWg4XbYk051WJXtAsfCOdNP
WAt02Ni5RcRFgbvp0Q1CaqlTGmJRXnxiJAQP/NnWebxnG3H36r6rJ2PypfxPF0Wa
9y7/33NaO71WQmnvnAZxk0WODhUBmWGz/MvhE++Ef/dfkVMOvpkJM91OfRd+dLCZ
S6Q0k5CmI791Y+J+M7daGQDDET8y7C5WIYJaFKinSPaZW4vZFIGTCSKep74FVMyC
b8AtTsfG1MGmGanQZAgT
=jsOy
-----END PGP SIGNATURE-----

--5/uDoXvLw7AC5HRs--

- Raw text -


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