[erlang-patches] patch to allow delete a name from epmd database without restart epmd

Raimo Niskanen <>
Thu Jun 17 10:59:17 CEST 2010


On Wed, Jun 16, 2010 at 10:32:42PM +0800, Seven Du wrote:
> Hi,
> 
> Sometimes some erlang nodes crashe but I found the registered name
> still exists in "epmd -names" so the erlang node cannot restart with
> the same name.
> 
> I asked this question in the email list but no other ones seems to
> have this issue. I cannot replicate that but it did happend a few
> times on my server Ubuntun 7.10 with R13B02-1 compiled from source.
> I'm not sure if it is a bug, but since epmd_srv.c accepts
> EPMD_STOP_REQ but epmd just doesn't has a way to sent that request. So
> I made this patch to unregister a node name
> 
> epmd -stop node_name
> 
> I also fixed a few typos.
> 
> This is the first time I submit patch, so please try the following and
> let me know if it has problems.
> 
> git fetch :seven1240/otp.git epmd_stop_cli

Thank you! It will be included in 'pu'.

That fetch command only works for you. This one I used:

git fetch git://github.com/seven1240/otp.git epmd_stop_cli


> 
> Thanks.
> 
> -- 
> Blog: http://www.dujinfang.com
> Proj:  http://www.freeswitch.org.cn

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list