Ori.livneh has uploaded a new change for review.
https://gerrit.wikimedia.org/r/148427
Change subject: graphite::web: bump uWSGI workers from 4 to 8
......................................................................
graphite::web: bump uWSGI workers from 4 to 8
4 is very low. We have enough things calling the Graphite render API
concurrently (users, alerts, gdash, etc.) that we often get 502s.
We could increase the value from 4 to 8 in the role class, but I think 8 works
better as a default anyhow.
Change-Id: I581bd2a9005aaeb8a54bc458c5c0c7523cfd63e2
---
M modules/graphite/manifests/web.pp
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/27/148427/1
diff --git a/modules/graphite/manifests/web.pp
b/modules/graphite/manifests/web.pp
index b088ee0..f4ceee6 100644
--- a/modules/graphite/manifests/web.pp
+++ b/modules/graphite/manifests/web.pp
@@ -6,7 +6,7 @@
# === Parameters
#
# [*uwsgi_processes*]
-# Number of uWSGI workers to run.
+# Number of uWSGI workers to run (default: 8).
#
# [*memcached_size*]
# Size of memcached store, in megabytes (default: 200).
@@ -33,7 +33,7 @@
$admin_pass,
$secret_key,
$storage_dir,
- $uwsgi_processes = 4,
+ $uwsgi_processes = 8,
$memcached_size = 200,
$admin_user = 'admin',
$documentation_url = 'http://graphite.readthedocs.org/',
--
To view, visit https://gerrit.wikimedia.org/r/148427
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I581bd2a9005aaeb8a54bc458c5c0c7523cfd63e2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits