Question

HHVM stopped frequently

Thanks for read my problem, and sorry for my bad english.

I have a server using Centos, this server running Nginx + HHVM as an engine for Laravel 5.2. For 2-3 months ago, this server running well. But now, the HHVM always stopped very frequently. For 3 untill 4 hours, so i need to start the service again. What should i do?

Thanks,


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

There could be many reason, we’ll check one of them now. As you need to start service again, it could be that app is killed because it ran out of memory.

To check that, let’s look at logs. Open system logs with text editor:

  1. sudo nano /var/log/syslog

If you see OOM or Out of Memory entries for your app, it means that app got killed because it ran out of memory. To fix it, you have 2 possibilities - Add Swap space or Upgrade your Droplet to bigger one. If you want to go with Swap, How To Add Swap Space on Ubuntu 16.04 will help you.

If that’s not a problem, we can look at other logs but start with this and report results. :)