Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Apr 2008 14:44:05 +0200
From:      Florian Weimer <fw@deneb.enyo.de>
To:        JINMEI Tatuya / =?utf-8?B?56We5piO6YGU5ZOJ?= <Jinmei_Tatuya@isc.org>
Cc:        Attila Nagy <bra@fsn.hu>, freebsd-performance@freebsd.org, bind-users@isc.org
Subject:   Re: max-cache-size doesn't work with 9.5.0b1
Message-ID:  <87abk9yelm.fsf@mid.deneb.enyo.de>
In-Reply-To: <m2skzns3eh.wl%Jinmei_Tatuya@isc.org> ("JINMEI Tatuya / =?utf-8?B?56We5piO6YGU5ZOJ?= "'s message of "Wed, 20 Feb 2008 13:51:02 -0800")
References:  <475B0F3E.5070100@fsn.hu> <m2lk6g71bc.wl%Jinmei_Tatuya@isc.org> <479DFE74.8030004@fsn.hu> <m2k5ltke09.wl%Jinmei_Tatuya@isc.org> <479F02A7.9020607@fsn.hu> <m24pcwt5b7.wl%Jinmei_Tatuya@isc.org> <47A614E9.4030501@fsn.hu> <m2wspkpl7r.wl%Jinmei_Tatuya@isc.org> <47A77A13.6010802@fsn.hu> <m2zlueohxk.wl%Jinmei_Tatuya@isc.org> <47B1D2F4.5070304@fsn.hu> <m2tzkexdo7.wl%Jinmei_Tatuya@isc.org> <47B2DD62.6020507@fsn.hu> <m2abm4y4by.wl%Jinmei_Tatuya@isc.org> <47BAE0B3.4090004@fsn.hu> <m2pruse24g.wl%Jinmei_Tatuya@isc.org> <m2skzns3eh.wl%Jinmei_Tatuya@isc.org>

index | next in thread | previous in thread | raw e-mail

* JINMEI Tatuya / 神明達哉:

> Then the named process will eventually abort itself with a core dump
> due to malloc failure.  Please show us the stack trace at that point.
> Hopefully it will reveal the malloc call that keeps consuming memory.

I've successfully used a backtrace()-instrumented malloc() to track down
difficult memory leaks.  backtrace() is necessary because it allows you
to see past malloc() wrappers.

(backtrace() seems to be part of libexecinfo on FreeBSD.)


home | help

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