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

- From: Tejun Heo \<tj@kernel.org\>
- Date: 2014-07-02 14:49:07 
- List: cgroups
- Page: https://ratatoskr.run/cgroups/2014/07/4285403
- Thread: https://ratatoskr.run/cgroups/2014/07/4285403/t.md

```text
Hello,

On Wed, Jul 02, 2014 at 10:46:59AM -0400, Binder Makin wrote:
> kmem keeps the cgroup from DOSing the machine but then you can get a ENOMEM
> out of some call which is trying to allocate kernel memory.
> People are used to limiting file handles from rlimits and the EMFILE is
> easier for them to debug/fix.

EMFILE instead of ENOMEM seems really thin as the sole rationale for a
whole new controller, doesn't it?

Thanks.

-- 
tejun
```
