From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 22:32:59 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4402E16A41B for ; Tue, 23 Oct 2007 22:32:59 +0000 (UTC) (envelope-from csjp@sub.vaned.net) Received: from sub.vaned.net (sub.vaned.net [205.200.235.40]) by mx1.freebsd.org (Postfix) with ESMTP id 21D4113C4B3 for ; Tue, 23 Oct 2007 22:32:58 +0000 (UTC) (envelope-from csjp@sub.vaned.net) Received: by sub.vaned.net (Postfix, from userid 1001) id 018CA173B3; Tue, 23 Oct 2007 17:29:44 -0500 (CDT) Date: Tue, 23 Oct 2007 17:29:43 -0500 From: "Christian S.J. Peron" To: dexterclarke@Safe-mail.net Message-ID: <20071023222943.GB4815@sub.vaned.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-hackers@freebsd.org Subject: Re: auditpipe leak? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2007 22:32:59 -0000 On Sun, Oct 21, 2007 at 01:47:21PM -0400, dexterclarke@Safe-mail.net wrote: [..] > > crw------- 1 root wheel 0, 137 21 Oct 17:51 /dev/auditpipe0 > crw------- 1 root wheel 0, 138 21 Oct 17:51 /dev/auditpipe1 > crw------- 1 root wheel 0, 141 21 Oct 17:51 /dev/auditpipe2 > crw------- 1 root wheel 0, 142 21 Oct 17:51 /dev/auditpipe3 > crw------- 1 root wheel 0, 143 21 Oct 17:51 /dev/auditpipe4 > > The numbers seem to increment forever, in testing, I got up to > /dev/auditpipe50 before rebooting to clean them up (I expect > just restarting devfs would've been enough, in retrospect). > This is not a leak, this is a side effect of how device cloning works in devfs. IIRC these will be garbaged collected at some point, and faster if the system requires the resources. -- Christian S.J. Peron csjp@FreeBSD.ORG FreeBSD Committer