Re: [PATCH] [RESEND] RFC: List per-process file descriptorconsumption when hitting file-max

From: Andrew Morton
Date: Wed Jul 29 2009 - 20:13:10 EST


On Tue, 9 Jun 2009 12:01:11 +0300
alexander.shishckin@xxxxxxxxx wrote:

> When a file descriptor limit is hit, it might be useful to see all the
> users to be able to identify those that leak descriptors.

Well... maybe.

There is no end to the amount of code which we could add to the kernel
to help userspace developers and administrators resolve userspace bugs.
But that doesn't mean that we should add all these things to the
kernel.

If there's some reason why the problem is particularly severe and
particularly hard to resolve by other means then sure, perhaps explicit
kernel support is justified. But is that the case with this specific
userspace bug?


--
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/