Monitoring of nodes..
Martin Bjorklund
<
>
Wed May 17 09:15:29 CEST 2000
wrote:
> What have I missed if I have three (3) nodes <

>, they
> are all "connected" with each other. Node '
' does BIF calls to
> monitor_node(
, true) and monitor_node(
,true). Now node
> '
' monitors both node '
' and node '
'. If I terminate
> node '
', node '
' should receive an {nodedown,
} message
> which it does.
> BUT, if I then terminate the '
' node I do NOT receive any
> {nodedown,
} message. Now, is this the correct behaviour? It's
> not what I expected anyway..?
I've tried this as well, and it seems to work just fine:
(
)1> nodes().
[
]
(
)2> erlang:monitor_node(
, true).
true
(
)3> erlang:monitor_node(
, true).
true
terminating
(
)4> flush().
Shell got {
}
ok
terminating
(
)5> flush().
Shell got {
}
ok
Could you post your program?
/martin
More information about the erlang-questions
mailing list