[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: automatically restarting dying daemons?



Will Trillich <will@serensoft.com> writes:

> problem: xinetd, after working just fine and dandy for weeks at
> 	a time, gets dozens of "unexpected signal" (source unknown)
> 	and gives up the ghost.
> 
> questions:
> 	1) what's the best way (e.g. debian way) to monitor active
> 	   daemons and restart them when necessary? maybe some
> 	   utility already exists for this? or /proc/something?
> 	   or `ps ax`?
> 	2) how can i track down the source of the signals specific
> 	   to this case and make it stop?
> 
> 
> xinetd chugs along nicely for the most part, and then -- poof!
> -- it dies a sudden death:

Give it to init.  This kind of stuff is what init is for.  man init.
man 5 inittab.  Use the respawn action.

-- 
Johan KULLSTAM



Reply to: