Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2011 14:53:38 +0530
From:      ashish@freebsd.org (Ashish SHUKLA)
To:        Marius =?utf-8?Q?N=C3=BCnnerich?= <marius@nuenneri.ch>
Cc:        ashish@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: pdnsd leaking udp sockets
Message-ID:  <86bp2d1wit.fsf@chateau.d.if>
In-Reply-To: <AANLkTimtGzJSXDGG8JeOvuUWEEMXoKP6JN13CRFu6Cdn@mail.gmail.com> ("Marius =?utf-8?Q?N=C3=BCnnerich=22's?= message of "Mon, 14 Feb 2011 14:21:05 %2B0100")
References:  <AANLkTimtGzJSXDGG8JeOvuUWEEMXoKP6JN13CRFu6Cdn@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Marius,

Marius N=C3=BCnnerich writes:
> Hi Ashish, all,

> I'm currently using pdnsd as a local dns cache. It seems to leak udp
> sockets. After an uptime of about 7 days it looks like this:

> % sockstat -46 | grep pdnsd
> nobody   pdnsd      19655 3  tcp4   127.0.0.1:53          *:*
> nobody   pdnsd      19655 4  udp4   127.0.0.1:53          *:*
> nobody   pdnsd      19655 6  udp4   *:*                   *:*
> nobody   pdnsd      19655 7  udp4   *:*                   *:*
> [...]
> nobody   pdnsd      19655 140 udp4  *:*                   *:*
> nobody   pdnsd      19655 141 udp4  *:*                   *:*
> nobody   pdnsd      19655 142 udp4  *:*                   *:*
> %

> It doesn't seem to do this on linux so I guess there is something
> different how we have to close a udp socket on freebsd?
> Any idea how to debug this? Anybody else seeing this?

Thanks for reporting this. ATM, I'm not sure how to debug this, I've to look
at its code base. Any details about the version of FreeBSD you're using,
related log messages (from dmesg or /var/log/messages) are welcome.

I'll get back to you soon with my findings.

Thanks
=2D-=20
Ashish SHUKLA

=E2=80=9CI think I can safely say that nobody understands quantum mechanics=
.=E2=80=9D
(Richard Feynman, 1965)

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iQIcBAEBCgAGBQJNWkYlAAoJEMdGz6nnT6Swq0AQAKwlLZZsnN8T1awQeK19JCDv
IS0DLfGNWximbHoP+B0TRZEI4myM48RXa6uxxwjtQTdnHHgUDGcVYJBqnzh+1Qgy
25c9LS+YD/12nRPKks4XlzXUH+Hbs0/W+EWYWCnc4R+vYnyKKNGJLGAHg6OoVoe+
vQ3xBGaD1D4r66mg548qd/I2ifVxYA1Ur2gEXtSKNFH/GHI60I7vRVQycJrdIpcS
ehV1rx2zz15XndOdrM9GUbuZiG3i/gv4Nr6dgsV9HmgZifAu8ArYn1kzNaiMLay9
KFvk2aNI9+YNciy1vLYgJd30JxoT2i/Bi1lthoBH/GurDeQSThYjihA4a2bkuJaV
Gyb9FcY6J5ikNLhqG2+ejwP6PnWSivc3bGtYGqXEBaCeoSSK5RYMOHgcgX4IT+Lc
iwO6QI/Ii7QCBE1EkWgNYogVD1v3TAAFPwePPm1iYdHkOBjKXKXxPDKwozy3avpr
hcmlTcuWLCxifB7xpzIita/JyCK8bwDjBtjoMheY5bj/tCpYvPO8z/K/yPG2MH4M
fL3eUHkCocjOgHyafs8gzXJQT2uyS/4s4Sm4SJ6OGVduil3RYd9je2KNfmC1TRh3
vJWiE1mq4D0wsg2geBcKxt92fGxJpzhH6T+J0c1NoKR3ztMfUiTK17U6U+hHlad9
33sbZlGAVphJb0460RnC
=4Uod
-----END PGP SIGNATURE-----
--=-=-=--



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