Tim Starling has uploaded a new change for review.

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

Change subject: Increase HHVM server thread count
......................................................................

Increase HHVM server thread count

It is 2*cpu by default, i.e. 32 on mw1114. This formula, based on the
apache one, will increase it to somewhere between 100 and 530.

Change-Id: I6cf9099c0de3e454c7179d84ebf4f26f70162378
---
M modules/mediawiki/manifests/hhvm.pp
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/49/169649/1

diff --git a/modules/mediawiki/manifests/hhvm.pp 
b/modules/mediawiki/manifests/hhvm.pp
index e9e80dc..fd419a8 100644
--- a/modules/mediawiki/manifests/hhvm.pp
+++ b/modules/mediawiki/manifests/hhvm.pp
@@ -23,6 +23,7 @@
                     error_document500     => 
'/srv/mediawiki/hhvm-fatal-error.php',
                     error_document404     => '/srv/mediawiki/w/404.php',
                     request_init_document => 
'/srv/mediawiki/wmf-config/HHVMRequestInit.php',
+                    thread_count          => floor(to_bytes($::memorytotal) / 
to_bytes('120M')),
                 },
             },
         },

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6cf9099c0de3e454c7179d84ebf4f26f70162378
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Tim Starling <[email protected]>

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

Reply via email to