Skip to content

Commit

Permalink
Change default for cgroups
Browse files Browse the repository at this point in the history
  • Loading branch information
narrieta committed Sep 27, 2018
1 parent 02d9e9e commit 9e6c1cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions azurelinuxagent/common/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}


Expand Down Expand Up @@ -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__):
Expand Down
2 changes: 1 addition & 1 deletion config/waagent.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9e6c1cd

Please sign in to comment.