BBlack has uploaded a new change for review.
https://gerrit.wikimedia.org/r/114766
Change subject: regularly compact memory on varnish caches
......................................................................
regularly compact memory on varnish caches
Change-Id: I119b1b70496f8f9cae101b80247a3710fd529900
---
M manifests/role/cache.pp
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/66/114766/1
diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index c1886ea..4906f44 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -511,6 +511,14 @@
'labs' => ["vdb"],
}
+ # This seems to prevent long term memory fragmentation issues that
+ # result in XFS log spam + bad problems for varnish health in the
long run
+ 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/114766
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I119b1b70496f8f9cae101b80247a3710fd529900
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits