BBlack has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/188587

Change subject: re-enable compact_memory cron for jessie caches
......................................................................

re-enable compact_memory cron for jessie caches

seeing the bad pattern on cp1064, so apparently we still need
this to avoid issues.

Change-Id: I9a228465c01fcf4d55a099679f5c4a5b1623bdbf
---
M manifests/role/cache.pp
1 file changed, 6 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/87/188587/1

diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index 0ea3908..ad01711 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -710,14 +710,12 @@
             'labs'       => ['vdb'],
         }
 
-        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  => '*',
-            }
+        # 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/188587
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9a228465c01fcf4d55a099679f5c4a5b1623bdbf
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <bbl...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to