Skip to content
This repository

Stuck on init #60

Open
ryansch opened this Issue August 05, 2011 · 5 comments

4 participants

Ryan Schlesinger Tom Preston-Werner Tobias Schlottke xanview
Ryan Schlesinger

I'm using god to launch camo as seen here: https://gist.github.com/675038

Camo starts up just fine but god never gets out of init. If I restart god, it shows camo as up but if I attempt to stop and start camo with god I get the same error again.

Ryan Schlesinger

This is on god 0.11.0 and ree 2011.02 (1.8.7).

Ryan Schlesinger

Duplicated on god 0.11.0 and ruby-1.9.2-p290.

Tom Preston-Werner
Owner

Could you paste in some of the log?

Tobias Schlottke
tobsch commented June 28, 2012

got the same problem with a java process:

https://gist.github.com/d1df947f404c3a2924ce

In my case it is a process which never returns but writes its own pid file.
Using god on ruby 1.9.3

xanview

I'm having the same problem with a python process. In my python process I am using cv2 (opencv) - which is very temperamental. When I run it, it some times freezes and I need to do a killall -9 python, it won't respond to any other signal. When I try to have this process in god:

    w.start = "python xanDetector.py #{proxy_url} #{camera[:name]}"

I see this in the god -c simple.god -D output:

I [2012-10-17 20:06:01]  INFO: front_door-detector move 'up' to 'start'
I [2012-10-17 20:06:01]  INFO: front_door-detector start: python xanDetector.py rtsp://127.0.0.1:10107/proxyStream front_door

And god just hangs there forever.

I try to do god status or god quit - but nothing, it just sits there and does not respond :/

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.