burke / zeus

Boot any rails app in under a second.
MIT License
3.33k stars 231 forks source link

Report node as crashed if the process exits #576

Closed metcalf closed 8 years ago

metcalf commented 8 years ago

Currently nodes do not monitor whether their processes exit. A node will remain marked as "running" until it is reloaded, even if the underlying process dies. Instead, it should be marked as crashed. I believe this is true even if the underlying process exits with a success code -- Zeus never expects its processes to die.

metcalf commented 8 years ago

This doesn't actually work as implemented because the processes are grandchildren, not children of the zeus process.