Summary:ASTERISK-04171: deadlocks when manager connection dies without sending disconnect
Reporter:Kevin P. Fleming (kpfleming)Labels:
Date Opened:2005-05-14 22:50:02Date Closed:2011-06-07 14:00:57
Versions:Frequency of
Description:When a manager is connected and the connection just dies (like the client machine freezes, network is disconnected, etc.), Asterisk seems to block while trying to dispatch it's event to the client until a timeout has been reached. During this time, all new calls are deadlocked and no channel states are being changed.<br />
<br />
In our case, the whole PBX freezes all new calls for about 2 minutes and then continues "normally". I tested this behaviour by pulling out the network cable of a connected client.


Sorry for not providing a core dump but I had to solve that problem quickly and wrote a little proxy that works asynchronously. If you really need it, I'll generate one outside office-hours.
Comments:By: Michael Jerris (mikej) 2005-05-17 09:36:47

Hold off on this one.. the patch caused bad issues with CLI locking up in head.

By: Russell Bryant (russell) 2005-05-18 17:01:01

I'm going to close this until we can determine a fix for cvs head.