From owner-freebsd-questions@freebsd.org Wed Oct 14 08:51:35 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83D079B8C77 for ; Wed, 14 Oct 2015 08:51:35 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CC2AD1F for ; Wed, 14 Oct 2015 08:51:35 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by wicgb1 with SMTP id gb1so120512712wic.1 for ; Wed, 14 Oct 2015 01:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=dQgY4uErY8cNj6NRmS/DKGWgZS8EZ2UvuPVRRDz79L8=; b=KD73LQVtoQ4FxbadGcsGZs87BVGUDhyIDXu4tlpP5jxM8/SBRje5X33czPbRrhySYd BZsPWzRsOpabRMOSJs4RSRHERaEEqbXgNHiWyhqyeH+5L4ypc7hy77yc5lwzF8kANxJM 3//aRA2LJ8BjI2owubomfWPRggTDcld2IvT43adJmbPyLScklS5P9/u1Za/hvhBnBWp5 SBwo4/chCKVQwgdNNFiQJDcGWuTtjmGIaiHVsqu2pPrMWUhZChLs0NrUkb8C4yo+ifrx 3EppglIvDM+T/Wfcy4nk/TRipaow2tDSc64n7d3aK5ptZd+7mYUX0pyVubxxLsMnpHNf sUzA== X-Received: by 10.180.186.98 with SMTP id fj2mr27850471wic.58.1444812693255; Wed, 14 Oct 2015 01:51:33 -0700 (PDT) Received: from Johans-MacBook-Air.local (92-70-102-130.glasvezel.netexpo.nl. [92.70.102.130]) by smtp.googlemail.com with ESMTPSA id it4sm8634858wjb.0.2015.10.14.01.51.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Oct 2015 01:51:32 -0700 (PDT) From: Johan Hendriks Subject: Re: Top takes long to start To: freebsd-questions@freebsd.org References: <561B6979.3090301@gmail.com> <561B7659.1090907@freebsd.org> <561CE4D5.7010406@gmail.com> <561CE913.2010402@infracaninophile.co.uk> Message-ID: <561E1793.8060707@gmail.com> Date: Wed, 14 Oct 2015 10:51:31 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <561CE913.2010402@infracaninophile.co.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2015 08:51:35 -0000 Op 13/10/15 om 13:20 schreef Matthew Seaman: > On 2015/10/13 12:02, Johan Hendriks wrote: >> Do I need to enable the caching? > No, caching is enable by virtue of your using nss-pam-ldapd-sasl. > >> Also lookups are running fine >> id user gives a instant reply btw. > Hmm... I think you'ld have to truss(1) top while it starts up to find > out where the delay was coming from. Looks like the ldap lookups may > not be the problem after all. > > Cheers, > > Matthew > > Well if I disable nslcd top starts instant. My debugging skills are not that great, and time is limited. I try to do some test, and what are 4 seconds in a lifetime. ;) Thanks all for your time. regards Johan