Rush has submitted this change and it was merged. Change subject: toollabs: bastion setup for cgred::group throttle ......................................................................
toollabs: bastion setup for cgred::group throttle Bug: T131541 Change-Id: I04a89dca94494eaebdf7759e026e89fa5a9d7484 --- M modules/toollabs/manifests/bastion.pp 1 file changed, 14 insertions(+), 0 deletions(-) Approvals: Rush: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/toollabs/manifests/bastion.pp b/modules/toollabs/manifests/bastion.pp index e176b95..a464876 100644 --- a/modules/toollabs/manifests/bastion.pp +++ b/modules/toollabs/manifests/bastion.pp @@ -19,6 +19,20 @@ if $::operatingsystem == 'Ubuntu' { + # misc group for on-the-fly classification + # of expensive processes as opposed to kill + # lint:ignore:arrow_alignment + cgred::group {'throttle': + config => { + cpu => { + 'cpu.shares' => '128', + }, + memory => { + 'memory.limit_in_bytes' => '1152921504606846975', + }, + }, + } + # lint:ignore:arrow_alignment cgred::group {'shell': config => { -- To view, visit https://gerrit.wikimedia.org/r/284928 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I04a89dca94494eaebdf7759e026e89fa5a9d7484 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Rush <r...@wikimedia.org> Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl> Gerrit-Reviewer: Rush <r...@wikimedia.org> Gerrit-Reviewer: Yuvipanda <yuvipa...@wikimedia.org> Gerrit-Reviewer: coren <m...@uberbox.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits