[RFC][PATCH] introduce task cgroup (#task restrictioon for prevent fork bomb by cgroup)

Daniel Hokka Zakrisson daniel at hozac.com
Thu Jun 5 14:52:36 PDT 2008


KOSAKI Motohiro wrote:
> Hi
>
> I create new cgroup of number task restriction.
> Please any comments!

Would it make more sense to implement this as part of an rlimit subsystem,
which also supports limiting e.g. address space, CPU time, number of open
files, etc.? If we create one subsystem per resource, I'm afraid we're
going to see quite some time spent in all those loops, and the options for
cgroupfs is going to become pretty long if you want to exclude just one or
two of the subsystems for one particular mount point.

-- 
Daniel Hokka Zakrisson


More information about the Containers mailing list