HHVM with big data amount causes 502 Bad Gateway (NGINX)

When enabling HHVM and having a big amount of posts or WooCommerce Products, it causes a 502 Bad Gateway when trying to access the posts/products in wp-admin
What can I do?

Switch to PHP-FPM?

We should probably add a note to Trellis about potential HHVM issues with our setup, but it also might just have bugs itself.

You need to also look into changing values such as max_execution_time.