Date: Sun, 28 Dec 2003 23:56:51 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: David Malone <dwmalone@maths.tcd.ie> Cc: freebsd-current@freebsd.org Subject: Re: file descriptor leak in 5.2-RC Message-ID: <Pine.BSF.4.53.0312282348340.21415@e0-0.zab2.int.zabbadoz.net> In-Reply-To: <20031227001820.GA89334@walton.maths.tcd.ie> References: <20031224154121.GA83770@e-Gitt.NET> <Pine.NEB.3.96L.1031224110359.66152B-100000@fledge.watson.org> <20031225204626.GA68589@e-Gitt.NET> <20031225215838.GB68589@e-Gitt.NET> <20031225222029.GC68589@e-Gitt.NET> <20031226002654.GB6757@e-Gitt.NET> <Pine.BSF.4.53.0312260145120.74127@e0-0.zab2.int.zabbadoz.net> <20031226162329.GA79023@e-Gitt.NET> <20031226190356.GD79023@e-Gitt.NET> <20031227001820.GA89334@walton.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 27 Dec 2003, David Malone wrote: > > during the machine is running on high load and after going to single > > user mode. You can clearly see, that even though kern.openfiles still > > shows a high number, pstat -f only finds very few files. > > Ahhh crud - the kern.file sysctl isn't completly calculated from > the list of all open files - it iterates through all the processes > to form the final list. Could you try rerunning pstat with the patch > below - it walks the full open file list, rather than checking each > process (this may leak open file info to people within jails on the > machine, hopefully that is not a problem for you...) [patch snipped] can we somehow inlcude this w/o leaking information ? I have not looked at it up to now but perhaps su only for none-jailed processes ? -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0312282348340.21415>