From owner-freebsd-questions@freebsd.org Mon Oct 12 09:12:43 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 8015B9D2F5D for ; Mon, 12 Oct 2015 09:12:43 +0000 (UTC) (envelope-from mike@geofront.co.uk) Received: from geofront.co.uk (geofront.co.uk [109.104.93.23]) by mx1.freebsd.org (Postfix) with ESMTP id 4852189A for ; Mon, 12 Oct 2015 09:12:43 +0000 (UTC) (envelope-from mike@geofront.co.uk) Received: from localhost (localhost.localdomain [127.0.0.1]) by geofront.co.uk (Postfix) with ESMTP id 02A997A6C012; Mon, 12 Oct 2015 10:04:39 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at geofront.co.uk Received: from geofront.co.uk ([127.0.0.1]) by localhost (lvps109-104-93-23.vps.webfusion.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OW276uJj+911; Mon, 12 Oct 2015 10:04:07 +0100 (BST) Received: from [10.145.35.207] (dab-rcn1-h-53-3.dab.02.net [82.132.245.107]) by geofront.co.uk (Postfix) with ESMTPSA; Mon, 12 Oct 2015 10:04:07 +0100 (BST) From: Mike Woods To: =?UTF-8?B?VHJvbmQgRW5kcmVzdMO4bA==?= , Johan Hendriks CC: Date: Mon, 12 Oct 2015 10:04:07 +0100 Message-ID: <1505b4acfe8.278a.263a4b57e50e62640ebfd8795878e806@geofront.co.uk> In-Reply-To: References: <561B6979.3090301@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 AquaMail/1.5.5.34 (build: 21050034) Subject: Re: Top takes long to start MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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: Mon, 12 Oct 2015 09:12:43 -0000 All of out ubuntu systems use ldaobin combination with nscd and it really does make a difference. Sent with AquaMail for Android http://www.aqua-mail.com On 12 October 2015 09:46:34 Trond Endrestøl wrote: > On Mon, 12 Oct 2015 10:04+0200, Johan Hendriks wrote: > > > Hello all. > > > > We use a central LDAP server with about 10k of user accounts. > > This is all running on Ubuntu servers. When we use top on a linux > > client, top starts instant. > > Now we are in the process of adding some FreeBSD server in the mix. > > One thing we noticed is the fact that as soon as we enable ldap top > > takes about 3 to 5 seconds to start on the FreeBSD hosts. > > > > # top -u have no problems. > > I found an old topic that top search for the longest username, but > > clould not find anything else. > > > > Is there something I can do to speed up the start time of top. > > How about using the nscd(8) service on the FreeBSD servers? > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrestøl, | Trond Endrestøl, | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"