[Pdns-dev] Re: memory leak

bert hubert ahu at ds9a.nl
Sun Nov 23 15:12:52 CET 2003


On Wed, Nov 12, 2003 at 04:55:21PM +0100, Norbert Sendetzky wrote:
Content-Description: clearsigned data
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Bert
> 
> I'm trying to hunt down a nasty memory leak - with little success up 
> to now. Each time an exception is thrown from a backend and the 
> backend is recreated by the guardian, 2048 bytes are added to the 
> memory used by the instances.

Have you tried valgrind? You need to make powerdns do a clean exit and
valgrind will tell you where all the memory leaks are. Works ver very very
well.


-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


More information about the Pdns-dev mailing list