I am using god 0.11.0 on a Gentoo Linux for monitoring a non daemon
process and have the same symptoms as in
http://groups.google.com/group/god-rb/browse_thread/thread/41c7bc1329f57bb2#
(which I can't continue).
The :flapping condition does some logging but the process is flapping
forever.
I tracked it down a little bit and found out, that the :flapping
condition enqueues a driver operation due to the trigger call in
Flapping#process (line 74 of god/conditions/flapping.rb). This driver
operation is always in a queue with two driver events (for
:process_running and :tries) which will be handled first.
The handling of the :process_running event then leads to a clean up of
the events list and the driver operation of the :flapping condition is
never been processed.
I am not deep enough into the code to understand how it is intended to work.
Could anyone help or give a clue where to dig further?
Thanks
>tilo