Re: cgroup memory limit problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" ?

If the cgroup runs out of memory they should be stopped until you give
more memory or kill some tasks.

Hope that helps
  -- Daniel

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers



[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux