pdnsd leaking udp sockets

Marius Nünnerich marius at nuenneri.ch
Mon Feb 14 13:48:41 UTC 2011


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?

Kind regards,
Marius


More information about the freebsd-ports mailing list