[erlang-bugs] heart prevents beam from creating crash dumps

Paul Guyot pguyot@REDACTED
Mon Aug 27 10:16:34 CEST 2012


> It would be great if there was a way of simply figuring out the file 
> descriptor numbers used for EPMD and/or heart from the C code. Then it 
> would be easy to fix this. One possibility is to add a new BIF that 
> stores the current EPMD port in a C variable. Then the loop that closes 
> all ports could be replaced with a single close.

I would like to strongly argue against a selected close of the epmd port.

The main argument is that it singles out the node name as the only exclusive resource a node can have. Other resources cannot be shared between incarnations of the same node. For example, a node may open a pool of N connections to a database server which could be limited, by configuration, to a total count of M connections where M < 2 * N.

Paul
-- 
Semiocast            http://semiocast.com/
+33.183627948 - 20 rue Lacaze, 75014 Paris




More information about the erlang-bugs mailing list