[erlang-bugs] epmd not cleaning up node name if node is down.

Zbyszek Żółkiewski <>
Fri Aug 15 12:51:23 CEST 2008


Hello,

I have noticed that epmd is not cleaning node names if there are multiple
nodes running on the same system and one of the node is shuted down.
When i try to run node (jggtrans) In logs i can see:

Aug 15 12:22:05 xmpp epmd: epmd: epmd running - daemon = 1
Aug 15 12:22:05 xmpp epmd: epmd: node name already occupied jggtrans
Aug 15 12:22:46 xmpp epmd: epmd: epmd running - daemon = 1
Aug 15 12:22:46 xmpp epmd: epmd: node name already occupied jggtrans

epmd - name:

epmd: up and running on port 4369 with data:
name jggtrans at port 46477
name zero at port 58591

while:

netstat -plan | grep 58591

tcp        0      0 0.0.0.0:58591           0.0.0.0:*
LISTEN     2105/beam.smp
tcp        0      0 213.134.161.163:58591   213.134.161.162:36438
ESTABLISHED2105/beam.smp

netstat -plan | grep 58591 gives nothing, actually node jggtrans is NOT
running.

The above problem makes running jggtrans node (after restart) imposible
without killing epmd process - but it also requires of restarting all nodes
in the system.
I can reproduce this problem any time. What can cause it?

thanks!



-- 
pozdrawiam,
Zbyszek Żółkiewski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20080815/cae75564/attachment.html>


More information about the erlang-bugs mailing list