diff --git a/azurelinuxagent/common/conf.py b/azurelinuxagent/common/conf.py index afec84c69..eb3900f38 100644 --- a/azurelinuxagent/common/conf.py +++ b/azurelinuxagent/common/conf.py @@ -110,7 +110,7 @@ def load_conf_from_file(conf_file_path, conf=__conf__): "ResourceDisk.EnableSwap": False, "AutoUpdate.Enabled": True, "EnableOverProvisioning": True, - "CGroups.EnforceLimits": True, + "CGroups.EnforceLimits": False, } @@ -367,7 +367,7 @@ def get_disable_agent_file_path(conf=__conf__): def get_cgroups_enforce_limits(conf=__conf__): - return conf.get_switch("CGroups.EnforceLimits", True) + return conf.get_switch("CGroups.EnforceLimits", False) def get_cgroups_excluded(conf=__conf__): diff --git a/config/waagent.conf b/config/waagent.conf index 0c8e804d3..79daacb65 100644 --- a/config/waagent.conf +++ b/config/waagent.conf @@ -121,7 +121,7 @@ OS.SshDir=/etc/ssh OS.EnableFirewall=y # Enforce control groups limits on the agent and extensions -CGroups.EnforceLimits=y +CGroups.EnforceLimits=n # CGroups which are excluded from limits, comma separated CGroups.Excluded=customscript,runcommand