<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Group,<div><br></div><div>We have just hit a case when we set a timeout on a gen_fsm Module:StateName function. e.g:</div><div><br></div><div><br></div><div>wait_handle_commit_ok({process_commit_ok,TransactionId}, State) -></div><div> %% Stuff</div><div><span style="font-size: 12pt;"> {next_state, wait_handle_commit_ok, State?WAIT_COMMIT_OK_TIME_LONG};</span><span style="font-size: 12pt;"> </span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">The timeout is 2 seconds (2000). </span></div><div><span style="font-size: 12pt;"><br></span></div><div><font size="3">In this case the timeout never fired. This code is </font>heavily<font size="3"> logged and the fsm appeared to not get any other message during this 2 second period. Unless Erlang will send a handle_event / handle_info for fun.</font></div><div><font size="3"><br></font></div><div><font size="3">The only thing in the log at the same time is this:</font></div><div><font size="3"><br></font></div><div><font size="3"><div>=ERROR REPORT==== 16-Dec-2014::09:39:44 ===</div><div>** Node node@E039D7009480 not responding **</div><div>** Removing (timedout) connection **</div><div><br></div><div>Is it possible that timers could get canceled for some unknown reason?</div><div><br></div><div>I should add that this code has been running for a few years without seeing this before.</div><div><br></div><div>Cheers</div><div><br></div><div>Matt</div></font></div> </div></body>
</html>