node startup crash

Jani Hakala jahakala@REDACTED
Tue Apr 26 02:17:23 CEST 2005


Serge Aleynikov <serge@REDACTED> writes:

> epmd: Mon Apr 25 18:50:48 2005: entering the main select() loop
> epmd: Mon Apr 25 18:50:53 2005: select() triggered. read_mask=0
> (listensock=0)
> epmd: Mon Apr 25 18:50:58 2005: select() triggered. read_mask=0
> (listensock=0)
> epmd: Mon Apr 25 18:51:03 2005: select() triggered. read_mask=0
> (listensock=0)
> epmd: Mon Apr 25 18:51:08 2005: select() triggered. read_mask=0
> (listensock=0)
>
A timestamp after each timeout (5 seconds, epmd_int.h: IDLE_TIMEOUT)

> What's extreemly odd is that the listensock fd is not set in the
> read_mask, even though the select() call woke up detecting data...
>
select returns 0 if there's a timeout. Some code in epmd_srv.c is
executed in this case even tough it might not be necessary(?)

Jani Hakala



More information about the erlang-questions mailing list