[Pdns-dev] memory leak
Norbert Sendetzky
norbert at linuxnetworks.de
Wed Nov 12 16:55:21 CET 2003
-----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.
First I thought the factory classes are instanciated but the old
instance is not deleted. But this doesn't reduce the memory leak, so
I'm a little bit desperated because the code is a little bit complex
(or to be more precise: interweaved). Could you please give me some
hints, what is going on if a backend is recreated (and which files I
have to look into other than dnsbackend and ueberbackend).
Norbert
PS: Additionally I've found a small memory leak in the bindbackend
constructor. Patch attached.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj+yV+kACgkQxMLs5v5/7eByTwCgixIQSsaD34eTcSi3B1XLzYsr
ShcAnjlzm/PygZsKKQRhv6YAyhwSg4G4
=j0e7
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bindbackend_leak.diff
Type: text/x-diff
Size: 3517 bytes
Desc: not available
Url : http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20031112/8b1a913d/bindbackend_leak.bin
More information about the Pdns-dev
mailing list