Server Vital Sign: Scripts To Respawn MongoDB or Nginx When It Crashes

Server Vital Signs 

Recovering from Failing MongoDB and Nginx

Like many developers working with mongoDB, I've had some issues with mongoDB when memory on my server is too low. If you get too much traffic nginx might fail also. I've come up with a solution that helped me have a stable server and I think sharing this solution would be great. I hope that this will be something we can extend as an open source project. I am hosting my project at the following url if anyone is interested:

Here is a link to my project. I plan on extending this in the future.

You can access this code at the following url:

Monitoring Memory and Hard Drive Space

If your interested in code for monitoring hard drive space and memory remaining. I have also provide the following script:

You can access this code at the following url:


Popular Posts