libev and Apache ZooKeeper
schmorp at schmorp.de
Sat Feb 12 22:10:42 CET 2011
On Sat, Feb 12, 2011 at 03:05:24PM +0100, Ride Shoot Speak <ride.shoot.speak at googlemail.com> wrote:
> My problem is that node quits as soon as the ZooKeeper C API gets connected
> to the ZooKeeper server. The callback isn't even called. To my knowledge
> node.js quits when the event loop is stopped.
Unless zookeeper also uses libev (no clue) then this is very unlikely. In
any case, you should run you standard debugging tools (strace, valgrind,
gdb) to see how and why it exits.
Keep in mind that programs also quit when they crash, when they call
exit, assert, abort etc.
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
More information about the libev