Page MenuHomePhabricator
Paste P2050

HHVM config
ActivePublic

Authored by michaelfoley on May 12 2017, 1:35 AM.
Tags
None
Referenced Files
F4952994: HHVM config
May 12 2017, 1:36 AM
F4952993: HHVM config
May 12 2017, 1:36 AM
F4952992: HHVM config
May 12 2017, 1:35 AM
Subscribers
None
# cat /etc/hhvm/config.hdf
Server {
WarmupRequests {
* = /mnt/hhvm_warmup/search-search_new.php.hbf
}
InternalWarmupThreads = 3
}
# cat /mnt/hhvm_warmup/search-search_new.php.hbf
cmd = 1
url = <REDACTED>/search/search_new.php
remote_host = 127.0.0.1
remote_port = 443
headers {
0 {
name = Accept
value = */*
}
1 {
name = Host
value = <REDACTED>
}
2 {
name = User-Agent
value = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11
}
}

Event Timeline

michaelfoley edited the content of this paste. (Show Details)
michaelfoley edited the content of this paste. (Show Details)
 # cp /etc/hhvm/config.hdf /etc/hhvm/config.hbf



# cat /etc/hhvm/config.hbf 
Server {
  WarmupRequests {
  * = /mnt/hhvm_warmup/search-search_new.php.hbf 
  }
  InternalWarmupThreads = 3
}
# cat /etc/hhvm/php.ini 
; php options
session.save_handler = files
session.save_path = /var/lib/php5
session.gc_maxlifetime = 1440

; hhvm specific 
hhvm.log.level = Info
hhvm.log.always_log_unhandled_exceptions = true
hhvm.log.runtime_error_reporting_level = 8191
hhvm.mysql.typed_results = false
apc.enabled = true
apc.stat = 1
date.timezone = America/New_York
default_charset = UTF-8
expose_php = Off
hhvm.error_handling.call_user_handler_on_fatals = true

hhvm.log.file = /mnt/logs/hhvm.log
hhvm.server.file_socket = /var/run/hhvm/sock
hhvm.server.type = fastcgi
memcache.hash_strategy = consistent
post_max_size = 250M
request_order = GPCS
upload_max_filesize = 250M
session.gc_divisor = 100
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
hhvm.server.implicit_flush = true
hhvm.stats.apc = true
hhvm.stats.enable = true
hhvm.repo.authoritative = true
hhvm.repo.central.path = /mnt/hhvm.hhbc
hhvm.jit = true 
hhvm.hack.lang.look_for_typechecker = false