From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932208Ab0AMWpF (ORCPT ); Wed, 13 Jan 2010 17:45:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932121Ab0AMWpD (ORCPT ); Wed, 13 Jan 2010 17:45:03 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:40064 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932103Ab0AMWpD (ORCPT ); Wed, 13 Jan 2010 17:45:03 -0500 Date: Wed, 13 Jan 2010 22:44:59 +0000 From: Al Viro To: Alexander Shishkin Cc: Valdis.Kletnieks@vt.edu, linux-fsdevel@vger.kernel.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCHv3] List per-process file descriptor consumption when hitting file-max Message-ID: <20100113224459.GA21934@ZenIV.linux.org.uk> 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 Content-Disposition: inline In-Reply-To: <1263202687-18529-1-git-send-email-virtuoso@slind.org> User-Agent: Mutt/1.5.20 (2009-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2010 at 11:38:07AM +0200, Alexander Shishkin wrote: > 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. > > Two new sysctl tunables are introduced: > * file-max-consumers -- number of processes to display (defaults > to 10); > * file-max-rate-limit -- time interval between subsequent dumps > (defaults to 10 seconds). That *still* doesn't answer the most important question: what for?