Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
node.js keep stopping. No errors logged.
I am running ubuntu and use a node.js to run a small website.
I am starting the server using forever with the following:
forever start -l forever.log -o out.log -e error.log server.js
It starts fine with some warning:
warn: –minUpTime not set. defaulting to 1000
warn: –spinSleepTime not set. Your script will exit if it does not stay up..
My experience with node is limited, so I not sure if these warning matter - they sound like they do.
The server will run fine with hardly any mem usage or load on the server.
It will last a few hours then just stop with nothing in the logs to indicate any problems.
Can anyone assist me, as I in despair on what it could be.?
Best wishes all
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.×