From owner-freebsd-ports@FreeBSD.ORG Mon Feb 14 13:48:41 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09A381065674; Mon, 14 Feb 2011 13:48:41 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id AAB018FC14; Mon, 14 Feb 2011 13:48:40 +0000 (UTC) Received: by qwj9 with SMTP id 9so3014893qwj.13 for ; Mon, 14 Feb 2011 05:48:39 -0800 (PST) Received: by 10.229.217.69 with SMTP id hl5mr2810816qcb.59.1297689685925; Mon, 14 Feb 2011 05:21:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.214.200 with HTTP; Mon, 14 Feb 2011 05:21:05 -0800 (PST) From: =?UTF-8?Q?Marius_N=C3=BCnnerich?= Date: Mon, 14 Feb 2011 14:21:05 +0100 Message-ID: To: freebsd-ports@freebsd.org, ashish@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: pdnsd leaking udp sockets X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2011 13:48:41 -0000 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