From owner-freebsd-stable@FreeBSD.ORG Mon Nov 29 00:45:50 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57D5816A4CE for ; Mon, 29 Nov 2004 00:45:50 +0000 (GMT) Received: from mailout2.barnet.com.au (mailout2.barnet.com.au [218.185.88.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88F5243D49 for ; Mon, 29 Nov 2004 00:45:49 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mailout2.barnet.com.au (Postfix, from userid 27) id 31F9D70744D; Mon, 29 Nov 2004 11:45:48 +1100 (EST) X-Viruscan-Id: <41AA713C0000244B3335E6@BarNet> Received: from mail2-auth.barnet.com.au (mailout2.barnet.com.au [218.185.88.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Authority" (verified OK)) by mail2.barnet.com.au (Postfix) with ESMTP id D449B70744B; Mon, 29 Nov 2004 11:45:47 +1100 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Certificate Authority" (verified OK)) by mail2-auth.barnet.com.au (Postfix) with ESMTP id 5A4C570743F; Mon, 29 Nov 2004 11:45:47 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 596F5613F; Mon, 29 Nov 2004 11:45:46 +1100 (EST) Date: Mon, 29 Nov 2004 11:45:46 +1100 From: Edwin Groothuis To: Chuck Swiger Message-ID: <20041129004546.GA1541@k7.mavetju> References: <41A60264.30109@fer.hr> <41AA6F6E.1080809@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41AA6F6E.1080809@mac.com> User-Agent: Mutt/1.5.6i cc: stable@freebsd.org cc: Ivan Voras Subject: Re: Huge slapd? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2004 00:45:50 -0000 On Sun, Nov 28, 2004 at 07:38:06PM -0500, Chuck Swiger wrote: > Ivan Voras wrote: > >After a few days of mostly test load, top reports that the slapd process > >(OpenLDAP server) is huge: > > > >439 ldap 20 0 149M 6128K kserel 0:07 0.00% 0.00% slapd > > > >I know that the actually used memory size is the 6MB figure above, but > >why does it allocate almost 150MB? Is it normal? > > This sounds like a classic example of a memory leak. Had the same before I moved to openldap 2.2 Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/