daemondo is not restarting processes that die

markd at macports.org markd at macports.org
Mon Oct 22 19:36:09 PDT 2007


James Berry <jberry at macports.org> writes:
>I'll have to look at the Daemondo code again. I'm not sure whether it  
>will get a child death notice for a script that it didn't start  
>directly, and this may be the problem in the case that you describe.
>
>Looking...

Thanks James, I appreciate it.  If it can't do that the docs will need
updated because I thought it would.  But I guess I was supposing that
daemondo monitored the process by looking at the pidfile; if it has to
passively receive a death notice I can see how that might not work.  Would
actively monitoring daemons (for non-executable startupitems) be too
expensive?  It seems like it has most of the logic to do it based on the
way it started multiple processes when the pidfile wasn't located
correctly.  It seems like having it check once in awhile after it is
running wouldn't be to much of a stretch.  But then you know what they
say, the less you know about something, the easier it seems.  :)

Mark



More information about the macports-dev mailing list