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,
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!
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:
- 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. :)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.