# Process watchdogging anyone?

**URL:** <https://www.ruby-forum.com/t/process-watchdogging-anyone/52936>\
**Category:** Rails\
**Created:** [January 20, 2006, 6:20pm UTC](https://www.ruby-forum.com/t/process-watchdogging-anyone/52936 "2006-01-20T18:20:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francois\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/53a042/32.png) [@Francois\_B](https://www.ruby-forum.com/u/Francois_B)\
**Post date:** [January 20, 2006, 6:20pm UTC](https://www.ruby-forum.com/t/process-watchdogging-anyone/52936/1 "2006-01-20T18:20:38Z")

</div>

Hi !

I have Lighttpd and SCGI clusters running my applications. I  
self-host at RimuHosting, but I find that my processes die sometimes.  
I’m not a Linux administrator, so I simply want some kind of  
watchdogging process to ensure my stuff keeps on truckin’.

I found Watchdog::Process on CPAN, but it won’t install. There’s some  
kind of error. Launchd would be ideal, unfortunately, I’m on Debian.

Anyone has a good solution ? Maybe I should simply switch to FastCGI  
and let Lighty handle the details ?

Thanks !

---

<div class="post-metadata">

**Author:** ![Francois\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/53a042/32.png) [@Francois\_B](https://www.ruby-forum.com/u/Francois_B)\
**Post date:** [January 20, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/process-watchdogging-anyone/52936/2 "2006-01-20T18:44:48Z")

</div>

On 20-jan-2006, at 17:42, Francois B. wrote:

> Anyone has a good solution ? Maybe I should simply switch to FastCGI  
> and let Lighty handle the details ?

Supervise your processes (lighty and the responders separately) using  
either daemontools or runit. See [http://www.defendem.com/](http://www.defendem.com/) for a  
sparse explanation but great installation instructions. We don’t use  
Debian so I can’t help you there.

–  
Regards, Charles.

---

<div class="post-metadata">

**Author:** ![Francois\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/53a042/32.png) [@Francois\_B](https://www.ruby-forum.com/u/Francois_B)\
**Post date:** [January 20, 2006, 9:58pm UTC](https://www.ruby-forum.com/t/process-watchdogging-anyone/52936/3 "2006-01-20T21:58:26Z")

</div>

2006/1/20, Charles M. Gerungan [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Supervise your processes (lighty and the responders separately) using  
> either daemontools or runit. See [http://www.defendem.com/](http://www.defendem.com/) for a  
> sparse explanation but great installation instructions. We don’t use  
> Debian so I can’t help you there.

I get an “Application Error (Rails)” ☹

Thanks for the hints !

---

<div class="post-metadata">

**Author:** ![Francois\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/53a042/32.png) [@Francois\_B](https://www.ruby-forum.com/u/Francois_B)\
**Post date:** [January 20, 2006, 10:31pm UTC](https://www.ruby-forum.com/t/process-watchdogging-anyone/52936/4 "2006-01-20T22:31:47Z")

</div>

On Jan 20, 2006, at 8:42 AM, Francois B. wrote:

> Anyone has a good solution ? Maybe I should simply switch to FastCGI  
> and let Lighty handle the details ?
> 
> ## Thanks !
> 
> François Beausoleil  
> [http://blog.teksol.info/](http://blog.teksol.info/)
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

Francois

```
Daedalus is a pure ruby daemon that monitors processes for you at

```

timed intervals and restarts them if they fail. I use it all the time  
and it works great.

Cheers-  
-Ezra Z.  
WebMaster  
Yakima Herald-Republic Newspaper  
removed\_email\_address@domain.invalid  
509-577-7732
