php - Why is a FastCGI HHVM hanging on larger data sets? -
i have written small benchmarking suite includes cli tests php, hhvm , zephir. attempting add fastcgi tests php, hhvm , zephir. context can see article wrote accompany this.
the code available in fcgi branch on github.
essentially have created hhvm extension, php , hack version of same mandelbrot set generating code (see fcgi-hhvm-*
on github project). each of them setup (setup.sh
) hhvm fastcgi server, warm making few requests against , benchmark. fastcgi request handled c++ fastcgi cli client make it's footprint on benchmark minimal possible rather nginx.
it works fine mandelbrot sets of 100x100 , 200x200, ramped 1,000 randomly hangs during 1 of iterations hhvm running php, hack or via hhvm extension.
unfortunately nothing written logs either , silently hangs. if kill job , try re-run without stopping , starting server hangs again. leaving server in failed state, not causing server crash or die.
i have tried changing number of config options - see related issue on project: https://github.com/treffynnon/benchmark-php-hhvm-zephir/issues/7
does know if there setting should tweaking or issue causing problem?
incidentally php scripts take longer run, complete every time pretty sure isn't in client implementation, in hhvm itself. same test runs fine via hhvm on cli, not via fastcgi.
hhvm version: built master@190a12a
Comments
Post a Comment