BBlack has submitted this change and it was merged. Change subject: disable compact_memory on jessie T83809 ......................................................................
disable compact_memory on jessie T83809 Change-Id: I54245d56974c297757b1810119d2fece51b7c4d3 --- M manifests/role/cache.pp 1 file changed, 8 insertions(+), 6 deletions(-) Approvals: BBlack: Looks good to me, approved jenkins-bot: Verified diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp index 156f33d..931bcee 100644 --- a/manifests/role/cache.pp +++ b/manifests/role/cache.pp @@ -712,12 +712,14 @@ 'labs' => ['vdb'], } - # This seems to prevent long term memory fragmentation issues that - # result in XFS deadlock log spam + bad problems for varnish health - cron { 'varnish_vm_compact_cron': - command => 'echo 1 >/proc/sys/vm/compact_memory', - user => 'root', - minute => '*', + unless os_version('debian >= jessie') { # testing whether we need this for jessie's 3.16 kernel + # This seems to prevent long term memory fragmentation issues that + # result in XFS deadlock log spam + bad problems for varnish health + cron { 'varnish_vm_compact_cron': + command => 'echo 1 >/proc/sys/vm/compact_memory', + user => 'root', + minute => '*', + } } #class { "varnish::packages": version => "3.0.3plus~rc1-wm5" } -- To view, visit https://gerrit.wikimedia.org/r/187684 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I54245d56974c297757b1810119d2fece51b7c4d3 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: BBlack <bbl...@wikimedia.org> Gerrit-Reviewer: BBlack <bbl...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits