我试图在我的vServer hhvm和使用的内存有问题。 性能很好,但使用的内存消耗是可怕的。 我有一台最小4GB和最大8GB内存的vServer,1天后hhvm使用大约2.4GB的可用内存,但仍然在增长。
在server.ini中有一个选项来设置hhvm进程应该使用的最大内存吗?
我目前正在hhvm中运行Typo3和Prestashop
location ~ \.php$ { try_files $uri =404; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; fastcgi_pass unix:/var/run/hhvm/hhvm.sock; }
和server.ini
; php options pid = /var/run/hhvm/pid ; hhvm specific ;hhvm.server.port = 9000 hhvm.server.file_socket = /var/run/hhvm/hhvm.sock 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