iobio / minion

Server wrapper that turns command line tools into web services
MIT License
60 stars 9 forks source link

Add Server Watchdog Cron Job #4

Closed chmille4 closed 9 years ago

chmille4 commented 9 years ago

Currently, if a server crashes, it's restarted automatically by forever, but every few months forever fails to restart a server and it can be down for hours until we realize it.

To fix this, we need to add a cron job that monitors (maybe every 5 minutes) the uptime of the servers and restarts them when they are down. If a server is down for more than 2 checks/restarts then it should email us to check it out.

tonydisera commented 9 years ago

Thanks Chase. That makes sense. Tony

On Saturday, December 13, 2014, Chase Miller notifications@github.com wrote:

Currently, if a server crashes, it's restarted automatically by forever, but every few months forever fails to restart a server and it can be down for hours until we realize it.

To fix this, we need to add a cron job that monitors (maybe every 5 minutes) the uptime of the servers and restarts them when they are down. If a server is down for more than 2 checks/restarts then it should email us to check it out.

— Reply to this email directly or view it on GitHub https://github.com/chmille4/iobio/issues/4.