From owner-freebsd-current@FreeBSD.ORG Thu Jan 26 19:57:01 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EC6416A420 for ; Thu, 26 Jan 2006 19:57:01 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from mail22.syd.optusnet.com.au (mail22.syd.optusnet.com.au [211.29.133.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0119643D6B for ; Thu, 26 Jan 2006 19:56:49 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail22.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k0QJulSv028861 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 27 Jan 2006 06:56:47 +1100 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.4/8.13.4) with ESMTP id k0QJulvg002609 for ; Fri, 27 Jan 2006 06:56:47 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.4/8.13.4/Submit) id k0QJul5K002608 for current@freebsd.org; Fri, 27 Jan 2006 06:56:47 +1100 (EST) (envelope-from peter) Date: Fri, 27 Jan 2006 06:56:47 +1100 From: Peter Jeremy To: current@freebsd.org Message-ID: <20060126195647.GA2559@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: Subject: Unreferenced files not being deleted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 19:57:01 -0000 On my recent -current, I've noticed that /var is filling up with unreferenced files. I think I've noticed this with some other partitions but they aren't as active and I didn't check carefully. fstat(8) and lsof both agree that the files are not open and I've unmounted all nfs clients. I don't think it happens to all files, I suspect (but haven't confirmed) that it happens when an open file is deleted and then closed. I've noticed this for a while on crashes but assumed it was just processes keeping open files around. fsck seems to clean up the files but in the case of /var, this basically means rebooting the system. Has anyone else seen anything similar to this? -- Peter Jeremy