Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2011 13:42:15 +0100
From:      =?UTF-8?Q?Marius_N=C3=BCnnerich?= <marius@nuenneri.ch>
To:        Ashish SHUKLA <ashish@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pdnsd leaking udp sockets
Message-ID:  <AANLkTi=E71UEJDLB5Yc0kEqpfx0TW2=YrSzhJb_ngS7t@mail.gmail.com>
In-Reply-To: <86lj1ah2ce.fsf@chateau.d.if>
References:  <AANLkTimtGzJSXDGG8JeOvuUWEEMXoKP6JN13CRFu6Cdn@mail.gmail.com> <86bp2d1wit.fsf@chateau.d.if> <AANLkTin=8BN6rEVH=XSFPFS7DZmxvTPZvqzK=912dhOY@mail.gmail.com> <86oc6dzf1z.fsf@chateau.d.if> <AANLkTi=T_KLA9mPxzWufGKUuTf4Q2dAm0w59Z9%2BNdbOo@mail.gmail.com> <86lj1ah2ce.fsf@chateau.d.if>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 20, 2011 at 21:34, Ashish SHUKLA <ashish@freebsd.org> wrote:
> Hi Marius,
>
> Marius N=C3=BCnnerich 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 anymor=
e.
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=3Dmemcheck --leak-check=3Dyes --track-fds=3D=3Dyes pdns=
d --nodaemon

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=E71UEJDLB5Yc0kEqpfx0TW2=YrSzhJb_ngS7t>