pdnsd leaking udp sockets

Ashish SHUKLA ashish at freebsd.org
Tue Feb 15 09:23:54 UTC 2011


Hi Marius,

Marius Nünnerich 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
-- 
Ashish SHUKLA

“I think I can safely say that nobody understands quantum mechanics.”
(Richard Feynman, 1965)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110215/4af1fbf2/attachment.pgp


More information about the freebsd-ports mailing list