Ori.livneh has submitted this change and it was merged.

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(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  Rush: Looks good to me, but someone else must approve
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I581bd2a9005aaeb8a54bc458c5c0c7523cfd63e2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Rush <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to