Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2011 14:21:05 +0100
From:      =?UTF-8?Q?Marius_N=C3=BCnnerich?= <marius@nuenneri.ch>
To:        freebsd-ports@freebsd.org, ashish@freebsd.org
Subject:   pdnsd leaking udp sockets
Message-ID:  <AANLkTimtGzJSXDGG8JeOvuUWEEMXoKP6JN13CRFu6Cdn@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



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