Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2004 05:52:05 +1100
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        Ivan Voras <ivoras@fer.hr>
Subject:   Re: Huge slapd?
Message-ID:  <20041129185205.GG804@cirb503493.alcatel.com.au>
In-Reply-To: <41AB4643.90807@mac.com>
References:  <41A60264.30109@fer.hr> <41AA6F6E.1080809@mac.com> <20041129004546.GA1541@k7.mavetju> <41AAF2BE.7030800@fer.hr> <41AB4643.90807@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041129185205.GG804>