hhvm
hhvm copied to clipboard
HHVM try to kill all processes on 9000 port
All nginx log with messages
worker process xxxxx exited on signal 9
In hhvm log
[hphp] [9818:7f771c5d3c80:0:000008] [] command failed: "lsof -t -i :9000 | xargs kill -9"
[hphp] [6279:7f60fc697c80:0:000005] [] command failed: "lsof -t -i :9000 | xargs kill -9"
[hphp] [6279:7f60fc697c80:0:000006] [] command failed: "lsof -t -i :9000 | xargs kill -9"
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.10
Release: 14.10
Codename: utopic
server.ini
; php options
pid = /var/run/hhvm/pid
; hhvm specific.
hhvm.server.port = 9000
hhvm.server.type = fastcgi
hhvm.server.default_document = index.php
hhvm.log.use_log_file = true
hhvm.log.file = /var/log/hhvm/error.log
hhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc
hhvm.http.default_timeout = 50
hhvm.server.connection_timeout_seconds = 50
hhvm.server.thread_count = 1000
hhvm.http.slow_query_threshold = 45000
hhvm --version
HipHop VM 3.4.0 (rel)
Compiler: tags/HHVM-3.4.0-0-g817b3a07fc4e509ce15635dbc87778e5b3496663
Repo schema: 0e12aaa31fae66b5591f65603de50c9d62caafac
Extension API: 20140829
This happens when hhvm fails to start listening on the proscribed port (9000). You can disable this behavior with hhvm.server_evil_shutdown=false but it looks to me as though the problem is that you have another process listening on port 9000, preventing hhvm from binding the port.
A more modern answer to this (I needed it recently) is to add the following to lines to your Server{} block:
HarshShutdown = false
EvilShutdown = false