Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Re-tune HHVM thread count
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fredemmott committed Jan 23, 2015
1 parent 780dfe6 commit 2588cc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2588cc4

Please sign in to comment.