[erlang-questions] Erlang message passing delay after abnormal network disconnection

Chandru chandrashekhar.mullaparthi@REDACTED
Mon Mar 3 14:21:55 CET 2008


On 03/03/2008, Eranga Udesh <eranga.erl@REDACTED> wrote:
> Hi,
>
> I am experiencing a high message passing delay between 2 Erlang nodes, after
> an abnormal network disconnection. Those 2 nodes are in a WAN and there are
> multiple Hubs, Switches, Routes, etc., in between them. If the message
> receiving Erlang node stopped gracefully, the delay doesn't arise. Doing
> net_adm:ping/1 to that node results no delay "pang". However
> gen_event:notify/2, gen_server:cast/2, etc. are waiting for about 10 seconds
> to return.
>
> What's the issue and how this can be avoided?

Have you tried putting a snoop to see whether the delay is on the
sending/receiving side?

This might be useful: http://www.erlang.org/contrib/erlsnoop-1.0.tgz

cheers
Chandru



More information about the erlang-questions mailing list