MongoDB server restarting constantly (and eventually unable to start)
Mongo db server (running on a droplet alongside nodejs) shuts down after a certain period of time.The last few messages (in the logs) seem to be successful “I COMMAND” messages. But on examining the logs i see a bunch of “***** SERVER RESTARTED *****” messages (so it does seem that the server is getting restarted occasionally).
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.×