I’ve had a Debian droplet for years now, running some node / Express apps, so I’m pretty familiar with the usual code-based crashes.
However I’ve noticed sometimes there is no error. The CPU usage looks totally normal like, 10%. I do have several apps running on one droplet though. (Usually zero users on) So one thought was if I ran out of server resources - that might cause a silent crash ?
How would I go about diagnosing this ? Is there another log besides the stdout log from pm2 ?
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!
If you’re using Nginx as proxy server, check the logs from there too.
Choked server resources can lead to your simply not responding. But if Nginx is proxying, you might be informed from the nginx logs about that happening.
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.