On Wednesday 09 of November 2011, Daniel Lezcano wrote: > On 11/09/2011 09:57 PM, Arkadiusz Miśkiewicz wrote: > > Hi, > > > > I have a machine with 6GB of ram and a cgroup for apache processes > > limited to > > > > memory.limit_in_bytes = "5100M"; > > memory.soft_limit_in_bytes = "5000M"; > > > > Unfortunately when apache processes ate all ram assigned to their cgroup > > load on whole machine jumps the roof. > > > > cgroup aware OOM kicks in, kills one process and that doesn't help. > > Did you try to disable the oom with the "memory.oom_control" file by > setting it to "1" ? No, will try. > > If the cgroup runs out of memory they should be stopped until you give > more memory or kill some tasks. I hope these tasks will be allowed to be killed when oom will be disabled. Right now it's often impossible to kill these. Anyway I would preffer httpd processed to be automaticly killed without manual intervention. > Hope that helps > -- Daniel -- Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/containers