Re: [RFC] cgroups: Resource controller for open files.

From: Tejun Heo
Date: Wed Jul 02 2014 - 10:33:12 EST


Hello,

On Wed, Jul 02, 2014 at 10:30:07AM -0400, Binder Makin wrote:
> Add a resource controller for limiting the number of open
> file handles. This allows us to catch misbehaving processes
> and return EMFILE instead of ENOMEM for kernel memory limits.

cc'ing memcg people. Isn't kmemcg supposed to cover this by
controlling kernel memory usage?

Thanks.

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