Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2007 17:29:43 -0500
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        dexterclarke@Safe-mail.net
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: auditpipe leak?
Message-ID:  <20071023222943.GB4815@sub.vaned.net>
In-Reply-To: <N1-XZ6XLHAihD@Safe-mail.net>
References:  <N1-XZ6XLHAihD@Safe-mail.net>

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



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