[CentOS] Restarting failed processes

Mon Sep 22 17:03:10 UTC 2008
nate <centos at linuxpowered.net>

Matty wrote:
> We are running a process on a CentOS box, and periodically it dies.
> Does anyone happen
> to have any recommendations for a lightweight tool that can be used to
> monitor processes
> and restart them if they happen to fail? I looked at monit, but it
> appears to be a bit much
> for restarting a process.

Depending on the task it doesn't get too much more light
weight than init. Oracle even uses it for their Cluster
Synchronization services (CSS).

And of course init is available in almost all versions
of unix and linux.