From owner-freebsd-stable@FreeBSD.ORG Mon Nov 29 18:52:14 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 43D7C16A520 for ; Mon, 29 Nov 2004 18:52:14 +0000 (GMT) Received: from mail19.syd.optusnet.com.au (mail19.syd.optusnet.com.au [211.29.132.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FA643D45 for ; Mon, 29 Nov 2004 18:52:13 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c211-30-75-229.belrs2.nsw.optusnet.com.au [211.30.75.229]) iATIq6Sn021031 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 30 Nov 2004 05:52:07 +1100 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])iATIq6xP061254; Tue, 30 Nov 2004 05:52:06 +1100 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost)iATIq6Wh061253; Tue, 30 Nov 2004 05:52:06 +1100 (EST) (envelope-from pjeremy) Date: Tue, 30 Nov 2004 05:52:05 +1100 From: Peter Jeremy To: Chuck Swiger Message-ID: <20041129185205.GG804@cirb503493.alcatel.com.au> References: <41A60264.30109@fer.hr> <41AA6F6E.1080809@mac.com> <20041129004546.GA1541@k7.mavetju> <41AAF2BE.7030800@fer.hr> <41AB4643.90807@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41AB4643.90807@mac.com> User-Agent: Mutt/1.4.2i cc: Edwin Groothuis 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 18:52:14 -0000 On Mon, 2004-Nov-29 10:54:43 -0500, Chuck Swiger wrote: >5-base# leaks 78 >Process 78: 284 nodes malloced for 38 KB >Process 78: 232 leaks for 5568 total leaked bytes. >Leak: 0x001018f0 size=32 > 0x00000000 0x00000002 0x00000002 0x00000011 > 0x00000010 0x00000000 0x001018b0 0x00000000 >Leak: 0x001018c0 size=32 > 0x00000000 0x00000002 0x00000002 0x00000011 > 0x00000010 0x00000000 0x00101880 0x00000000 >[ ... ] > >Is there anything like this available for FreeBSD? You could try MALLOC_OPTIONS=U, 'ktrace -t u' and post-processing the resultant utrace records. -- Peter Jeremy