Re: cgroups not working?

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



On Wed, Mar 13, 2013 at 10:10 PM, Dennis Jacobfeuerborn
<dennisml@xxxxxxxxxxxx> wrote:
> Hi,
> I'm trying to use cgroups to limit the apache webserver but this doesn't
> seem to work as far as I can tell.
> I modified cgconfig.conf like this:
>
> group webserver {
>          cpu {
>                  cpu.shares="250";
>          }
> }

How many other groups do you have defined? IIRC, it was based on the
ratio of that share to the total. So if that's the only group defined,
it may end up getting all resources.

http://hydra.geht.net/tino/english/faq/debian/squeeze/cgroups/

This seems to indicate that is how it works..
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux