"Some time" is the net-tick-time, which defaults to 15 seconds I believe. You can decrease that time by making it smaller (more frequent pings), at the cost of (a potentially much greater) increase in network traffic. <div>
<br></div><div>The issue surrounds "half closed sockets" which is a general TCP problem and less of an Erlang-specific issue. (eg, it is a problem all networked applications have to deal with, including the upcoming Websockets stuff.)</div>
<div><br></div><div>-mox</div><div><br><div class="gmail_quote">On Tue, Sep 25, 2012 at 9:27 AM, Roberto Ostinelli <span dir="ltr"><<a href="mailto:roberto@widetag.com" target="_blank">roberto@widetag.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote">Thank you all for answers.</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:Times New Roman">The dying VM will of course not send anything, it's dead. Your node, however, knows of all the links and monitors its processes has with other nodes. It will detect that it has lost contact with the other node and and then send the exit signals and monitor information to its local processes. This may take some time before it happens.<br>
</div></div></blockquote><div><br></div><div>Robert, could you please clarify what 'some time' may mean? I'm wondering if it's better:</div><div><br></div><div><ul><li>to have all processes linked between nodes, and receive the failover signal (may be thousands of them)</li>
<li>to have a single 'node monitoring' process which will then deal with a node failure</li></ul><div>Any input welcome :)</div></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>r.</div></font></span></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>