Process Watchdogs

Scot L. Harris webid at cfl.rr.com
Mon Jan 24 01:21:31 UTC 2005


On Sun, 2005-01-23 at 20:00, Rod Haper wrote:
> Richard Worwood wrote:
> > I'm have a problem with one of my servers at the moment where services
> > keep stopping and I would like to setup some kind of watchdog process to
> > keep this in check, notify me when it happens and restart them.
> > 
> > Does anyone have any ideas on how I can do this?
> > 
> > Thanks
> > 
> > Richard
> > 
> 
> 
> Put them in your '/etc/inittab' with the "respawn" action and let init 
> run them when your server boots.  If they die, init will restart them. 
> See the man pages for 'init' and 'inittab'.

Which processes are failing?  What versions of these services are you
using?  

Setting up scripts or methods to restart the processes is a stop gap at
best.  Resolving the problem of why the are stopping in the first place
is the real solution.

-- 
Scot L. Harris
webid at cfl.rr.com

Micro Credo:
	Never trust a computer bigger than you can lift. 




More information about the fedora-list mailing list