From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [RFC][PATCHv3] List per-process file descriptor consumption when hitting file-max Date: Wed, 13 Jan 2010 23:06:37 +0100 Message-ID: <87pr5dfymq.fsf@basil.nowhere.org> References: <28675.1248957636@turing-police.cc.vt.edu> <1263202687-18529-1-git-send-email-virtuoso@slind.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Valdis.Kletnieks@vt.edu, linux-fsdevel@vger.kernel.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk To: Alexander Shishkin Return-path: In-Reply-To: <1263202687-18529-1-git-send-email-virtuoso@slind.org> (Alexander Shishkin's message of "Mon, 11 Jan 2010 11:38:07 +0200") Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Alexander Shishkin writes: > When a file descriptor limit is hit, display the top consumers of > descriptors so that it is possible to identify and fix those which > leak them. Can't you get that information from /proc/*/fd/ ? Doing it in user space would be much saner. -Andi -- ak@linux.intel.com -- Speaking for myself only.