Hello, On Mon, Jul 29, 2013 at 11:51:09AM +0200, Michal Hocko wrote: > Isn't this a bug in freezer then? I am not familiar with the freezer > much but memcg oom handling seems correct to me. The task is sleeping > KILLABLE and fatal_signal_pending in mem_cgroup_handle_oom will tell us > to bypass the charge and let the taks go away. Is the problem a frozen task not being killed even when SIGKILL is received? If so, it is a known problem and a side-effect of cgroup_freezer (ab)using and making the existing power management freezer visible to userland without really thinking about the implications. :( So, yeah, if you use cgroup_freezer now, the tasks will get stuck in states which aren't well defined when visible from userland and will just stay there until unfrozen no matter what. Yet another reason I'll be screaming like a banshee at anyone who says that cgroup is built to delegate subtree access rights to !root users. It's on the to-do list but a very long term one. Right now, if you combine userland OOM handling with freezer and whatnot, it'd be pretty easy to get into trouble. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html