From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51427 invoked by alias); 7 Aug 2015 09:06:50 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 51417 invoked by uid 89); 7 Aug 2015 09:06:49 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Aug 2015 09:06:48 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 9C64BA80979; Fri, 7 Aug 2015 11:06:46 +0200 (CEST) Date: Fri, 07 Aug 2015 09:06:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: commands spends time in cygheap_user Message-ID: <20150807090646.GB12475@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <1437114390582-119766.post@n5.nabble.com> <1438937297149-120365.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5/uDoXvLw7AC5HRs" Content-Disposition: inline In-Reply-To: <1438937297149-120365.post@n5.nabble.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-08/txt/msg00107.txt.bz2 --5/uDoXvLw7AC5HRs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1020 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 Content-length: 819 -----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--