pdnsd leaking udp sockets

Marius Nünnerich marius at nuenneri.ch
Mon Feb 28 12:42:38 UTC 2011

On Sun, Feb 20, 2011 at 21:34, Ashish SHUKLA <ashish at freebsd.org> wrote:
> Hi Marius,
> Marius Nünnerich writes:
> [...]
>> Ok, I applied the patch and reinstalled the port. I will leave it
>> running for a few days and report back. So far it's looking good.
>> Thank you very much! :)

OK, I had it running for a while now with your fix. It's not leaking anymore.
There is still one close() missing before a return in that same function.

> I talked to Paul (the upstream author of pdnsd), and he suggested running
> dns/pdnsd with following command-line (requires devel/valgrind port):
> % valgrind --tool=memcheck --leak-check=yes --track-fds==yes pdnsd --nodaemon

I'll try this too if I can find the time, but so far it doesn't seem
to leak memory.

More information about the freebsd-ports mailing list