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
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!
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.
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.
Click below to sign up and get $200 of credit to try our products over 60 days!