Re: [RFC][PATCHv3] List per-process file descriptor consumption when hitting file-max

From: Andi Kleen
Date: Wed Jan 13 2010 - 17:06:46 EST


Alexander Shishkin <virtuoso@xxxxxxxxx> 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@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/