By digital1900
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).
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!
Is the server running out of memory? Perhaps disk space is scarce? So many things could be at play. Anything else pertaining to the restart in the logs?
Even if that happened woudln’t the logs have some clue? I did a df -h on the droplet and it seemed to have ample space. Is there anywhere else i could look?
The only thing that resembles an error in the logs is below (during a SERVER RESTART) but the server seems to restart and things seem to work fine. Failed to unlink socket file /tmp/mongodb-<some_number>.sock errno:1 Operation not permitted Fatal Assertion 28578
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.