Code Monkey home page Code Monkey logo

Comments (9)

shayfrendt avatar shayfrendt commented on September 26, 2024

I've been seeing this same issue. I've got 2 processed being monitored by god, but 6 leftover god processes running.

I'm running ruby-1.9.2-p180, god 0.11.0, and Ubuntu 10.04.2 and am also reloading the god config using the god load method.

Also - just saw issue #50 related to this.

from god.

mezis avatar mezis commented on September 26, 2024

Still having this issue.

$ god -V
Version: 0.12.1
$ ruby -v
ruby 1.8.7 (2011-12-28 MBARI 8/0x6770 on patchlevel 357) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2011.12

Happens every other load/unmonitor cycle, seemingly at random ...

Unfortunately makes God kinda useless as a watchdog ;(

from god.

emirkin avatar emirkin commented on September 26, 2024

+1

from god.

emirkin avatar emirkin commented on September 26, 2024

By the way, given this bug, it's particularly unclear whether "god load" is enough to load the new config AND restart current tasks or whether another "god restart" is needed. Another question I can't answer until this issue is resolved is: what's "god monitor" for? I thought putting monitoring behaviors inside my .god file was enough?

from god.

mezis avatar mezis commented on September 26, 2024

FYI this bug completely dissapeared for us after downgrading to REE 2011.03 (appears to be a known bug in the RVM affecting Ruby programs combining forking an threading).

@emirkin it's also unclear for me, although in my experience god load <config> always start the watch, except if you add the (undocumented) state argument:

god load <config> stop

Doesn't behave very consistently though.

from god.

mezis avatar mezis commented on September 26, 2024

@emirkin misunderstood your comment I think. Given this bug, if God crashes after spawning proceses (e.g. Rainbows! in our case) and you restart God and reload your config, a new process will be spawned.

Bottom line: a watchdog that crashes so often and doesn't behave properly when restarting isn't very helpful.

from god.

emirkin avatar emirkin commented on September 26, 2024

@mezis Based on what you're saying you did understand and answer my concerns. So now, I'm just waiting for the fix too

from god.

RobertLowe avatar RobertLowe commented on September 26, 2024

+1

from god.

Aethelflaed avatar Aethelflaed commented on September 26, 2024

👍

from god.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.