Alexandros Kosiaris has uploaded a new change for review.

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

Change subject: rrdcached tuning
......................................................................

rrdcached tuning

Set the default timeout for journal flushing to 2 hours, the timeout for
data writes to 15mins(3x the default), add a random delay of 7,5 mins
per RRD.

Change-Id: Ib37bd587b9467ae112e69b9284c3710299bb67f5
---
M modules/ganglia_new/templates/rrdcached.default.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/32/173032/1

diff --git a/modules/ganglia_new/templates/rrdcached.default.erb 
b/modules/ganglia_new/templates/rrdcached.default.erb
index 20b6ac8..0bf7f4e 100644
--- a/modules/ganglia_new/templates/rrdcached.default.erb
+++ b/modules/ganglia_new/templates/rrdcached.default.erb
@@ -12,7 +12,7 @@
 # (do not specify -p <pidfile> - this is handled by the init script)
 # default: see /etc/init.d/rrdcached
 #OPTS=""
-OPTS="-s nogroup -l unix:<%= @gmetad_socket %> -s www-data -P 
PENDING,FLUSH,STATS -l unix:<%= @gweb_socket %> -j <%= @journal_dir %> -F -b 
<%= @rrdpath %> -B"
+OPTS="-w 900 -z 450 -f 7200 -s nogroup -l unix:<%= @gmetad_socket %> -s 
www-data -P PENDING,FLUSH,STATS -l unix:<%= @gweb_socket %> -j <%= @journal_dir 
%> -F -b <%= @rrdpath %> -B"
 
 # number of seconds to wait for rrdcached to shut down
 # (writing the data to disk may take some time;

-- 
To view, visit https://gerrit.wikimedia.org/r/173032
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib37bd587b9467ae112e69b9284c3710299bb67f5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to