From 2588cc42842de25c509d6ab9939fedf22d05a1c2 Mon Sep 17 00:00:00 2001 From: Fred Emmott Date: Fri, 23 Jan 2015 10:36:47 -0800 Subject: [PATCH] Re-tune HHVM thread count After changing the MySQL connection limit, I re-tuned the PHP5/7 FCGI child count, but not the HHVM thread count. It should be *MUCH* higher now. --- conf/php.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/php.ini b/conf/php.ini index fd38e3b..0999ad2 100644 --- a/conf/php.ini +++ b/conf/php.ini @@ -14,6 +14,9 @@ date.timezone=America/Los_Angeles ;;;;;;;;;;;;; ; HHVM Only ; ;;;;;;;;;;;;; +; HHVM's default is 2*CPU cores; this works reasonably well if you're using +; HHVM's async features, however it's way too low for most other loads. +hhvm.server.thread_count=200 ; This is a no-op on production builds, but makes it possible to get meaningful ; profiles from debug builds hhvm.hhir_generate_asserts=0