Nikerabbit has uploaded a new change for review.

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

Change subject: Update HHVM settings
......................................................................

Update HHVM settings

Somewhat mirroring what WMF is doing

Change-Id: Iad9894f261fa0edd3a73edad0177d077d8b25dd4
---
M puppet/modules/hhvm/files/php.ini
M puppet/modules/hhvm/files/upstart
2 files changed, 14 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/translatewiki 
refs/changes/54/163854/1

diff --git a/puppet/modules/hhvm/files/php.ini 
b/puppet/modules/hhvm/files/php.ini
index 2b57a9a..bd6378b 100644
--- a/puppet/modules/hhvm/files/php.ini
+++ b/puppet/modules/hhvm/files/php.ini
@@ -10,11 +10,14 @@
 hhvm.server.file_socket = /run/hhvm/hhvm.sock
 hhvm.server.type = fastcgi
 hhvm.server.gzip_compression_level = 0
+hhvm.server.graceful_shutdown_wait = 5
 
-hhvm.dynamic_extension_path = /usr/lib/hphp/extensions/20140727
+hhvm.dynamic_extension_path = 
/usr/lib/x86_64-linux-gnu/hhvm/extensions/20140829
 
 hhvm.jit = true
-hhvm.jit_afrozen_size = 100000000
+hhvm.jit_a_size = 100000000
+hhvm.jit_a_frozen_size = 100000000
+hhvm.jit_a_cold_size = 33000000
 
 hhvm.log.level = Notice
 hhvm.log.always_log_unhandled_exceptions = true
@@ -25,10 +28,12 @@
 hhvm.log.access.file = /var/log/hhvm/access.log
 hhvm.log.access.format = %h %l %u % t \”%r\” %>s %b
 hhvm.log.header = true
+hhvm.log.native_stack_trace = true
 
 hhvm.repo.central.path = /run/hhvm/hhvm.hhbc
 
 hhvm.enable_zend_compat = true
+hhvm.enable_obj_destruct_call = true
 
 hhvm.mysql.typed_results = false
 hhvm.mysql.slow_query_threshold = 5000
diff --git a/puppet/modules/hhvm/files/upstart 
b/puppet/modules/hhvm/files/upstart
index f489a93..47f0697 100644
--- a/puppet/modules/hhvm/files/upstart
+++ b/puppet/modules/hhvm/files/upstart
@@ -12,9 +12,12 @@
 end script
 
 exec /sbin/start-stop-daemon --quiet --start \
-         --chuid www-data:www-data \
-         --pidfile /var/run/hhvm/hhvm.pid \
-         --startas /usr/bin/hhvm \
-         -- --mode server
+  --chuid www-data:www-data \
+  --pidfile /run/hhvm/hhvm.pid \
+  --startas /usr/bin/hhvm \
+  -- \
+    --config /etc/hhvm/config.hdf \
+    --config /etc/hhvm/php.ini \
+    --mode server
 
 respawn

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad9894f261fa0edd3a73edad0177d077d8b25dd4
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>

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

Reply via email to