Question

DigitalOcean apps platform: NodeJS app getting restarted without process crash

Hi,

I’d like to know what could be possible reasons when the Apps platform could restart a running app without the server even crashing?

I’m on the base $5/mo container. The CPU and memory stay well within checks. Check Insights screenshot from last 7 days for reference.

I’m connecting to external redis servers to do some continuous queue based processing, and the restarts disrupts the service without any intimation or reason.

Happy to share any further details if it helps in debugging.


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.

Answering this for someone else who might face this issue.

  • Check the restart count under the insight tab to confirm if its frequently restarting.

  • Check memory usage.

  • If you are on the $5 plan with 1gb memory, it might be restarting when memory usage increases.

  • Scale to a higher plan and monitor it.

I hope it helps.

Hello! Did you get any answer from DigitalOcean team? I am having the exact same issue where the server restarts while processing some data without any crash report of any kind. CPU and memory look fine (less than 40%).

This is really a problem for us as we are planning to use this app in production in about 2 weeks, and we can’t have random restarts…