[erlang-bugs] heart prevents beam from creating crash dumps
Ulf Wiger
ulf@REDACTED
Mon Aug 27 10:30:55 CEST 2012
So the suggestion then would be to selectively close everything *but* the heart fd? :)
BR,
Ulf W
On 27 Aug 2012, at 10:16, Paul Guyot wrote:
>> 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
>
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
Ulf Wiger, Co-founder & Developer Advocate, Feuerlabs Inc.
http://feuerlabs.com
More information about the erlang-bugs
mailing list