<div dir="ltr">so? no one have any idea?<br><br><div class="gmail_quote">On Fri, Aug 15, 2008 at 14:22, Zbyszek Żółkiewski <span dir="ltr"><zbyszek@toliman.pl></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hello, thanks for the reply,<br><br>System is Debian 4.0, custom compiled erlang OTP R11B-5, <br>Erlang (BEAM) emulator version 5.5.5 [source] [smp:2] [async-threads:0] [hipe] [kernel-poll:true] <br>(so the nodes are running with +K true -smp options)<br>

<br>software that we use is ejabberd xmpp server, we are using cluster mode with 3 nodes (2 on one server and 1 on other server), in this case node was crashed,<br>but the same situation appear on both servers, if i stop node with init:stop()., ctrl+G, k 1, q combination - so quite legaly exiting and shuting down node...<br>

<br>so do you have any clue what can cause that epmd is not removing entry from its table? and what we can do to determine problem, and finaly, is there any way of clear epmd table from invalid entries?<br><br>thanks,<br>

<br><br><br><div class="gmail_quote">2008/8/15 Kenneth Lundin <span dir="ltr"><<a href="mailto:kenneth.lundin@gmail.com" target="_blank">kenneth.lundin@gmail.com</a>></span><div class="Ih2E3d"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi,<br>
<br>
The normal and correct behaviour is that a node is unregistered from<br>
epmd when it is shutdown.<br>
each Erlang node that register to epmd establishes and keep an open<br>
tcp connection towards epmd.<br>
When that connection is broken the Erlang node is unregistered.<br>
<br>
On what OS is this?<br>
How is the Erlang node shutdown?<br>
<br>
I just run an example on Suse Linux where I create 2 Erlang nodes like this:<br>
<br>
erl -sname a<br>
<br>
and in another shell<br>
<br>
erl -sname b<br>
<br>
In a third shell epmd -names reported both nodes.<br>
<br>
I then tried to terminate one of the nodes normally and epmd -names<br>
correctly reported that there<br>
is only one node left.<br>
<br>
i started the second node again and epmd -names reported the 2 nodes.<br>
<br>
I killed one of the nodes with kill -9 and again epmd -names reported<br>
only one node as expected.<br>
<br>
There must be something else causing the behaviour on your system.<br>
<br>
/Kenneth Erlang/OTP team Ericsson<br>
<br></blockquote></div></div><br clear="all"><br>-- <br>pozdrawiam,<br>Zbyszek Żółkiewski<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>pozdrawiam,<br>Zbyszek Żółkiewski<br>
</div>