I
I
ikerya2017-05-23 20:19:57
Node.js
ikerya, 2017-05-23 20:19:57

Why can the server crash on NODE JS?

I use the forever utility to start the server on an ongoing basis, that is, to run all the time. I use the following command:
forever start server.js
Actually, very often the next day I find that the server is turned off, although there were no errors in operation (I started logging by adding the -e logs/error.log prefix). Tell me, please, maybe you have experience with this utility and you have experienced something similar, or maybe you can tell me an alternative way to daemonize a NODE JS server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
deemaagog, 2017-05-23
@ikerya

try pm2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question