For what its worth adding the following seemed to the do trick:

w.start_grace   = 20.seconds
w.restart_grace = 20.seconds

Now if I could just get god to stop the process when I ask it to.
issuing a god restart appears to work, but god stop and god terminate
both leave the process running.

On Thu, Nov 20, 2008 at 6:50 PM, Josh Knowles <[EMAIL PROTECTED]> wrote:
> I'm attempting to use the github god config
> (http://github.com/blog/229-dj-god) on OSX but unfortunately everytime
> it goes to run the rake task, it seems to get into this endless loop:
>
>  [2008-11-20 18:48:49]  INFO: dj-0 [trigger] process is not running
> (ProcessRunning)
> I [2008-11-20 18:48:49]  INFO: dj-0 move 'up' to 'start'
> I [2008-11-20 18:48:49]  INFO: dj-0 start: rake -f
> /Users/joshknowles/Projects/test/Rakefile jobs:work
> I [2008-11-20 18:48:49]  INFO: dj-0 moved 'up' to 'start'
> I [2008-11-20 18:48:49]  INFO: dj-0 [trigger] process is running
> (ProcessRunning)
> I [2008-11-20 18:48:49]  INFO: dj-0 move 'start' to 'up'
> I [2008-11-20 18:48:49]  INFO: dj-0 moved 'start' to 'up'
> I [2008-11-20 18:48:49]  INFO: dj-0 [ok] memory within bounds [3660kb]
> (MemoryUsage)
> I [2008-11-20 18:48:49]  INFO: dj-0 [ok] process is running (ProcessRunning)
> I [2008-11-20 18:48:54]  INFO: dj-0 [ok] memory within bounds [3660kb,
> 0kb] (MemoryUsage)
> I [2008-11-20 18:48:54]  INFO: dj-0 [trigger] process is not running
> (ProcessRunning)
>
> First time using god, so I could obviously be missing something, but
> does anyone have any thoughts or suggestions?
>
>
> --
> Josh Knowles
> phone: 509-979-1593
> email:  [EMAIL PROTECTED]
> web:    http://joshknowles.com
>



-- 
Josh Knowles
phone: 509-979-1593
email:  [EMAIL PROTECTED]
web:    http://joshknowles.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"god.rb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/god-rb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to