[asterisk-dev] ast_read() called with no recorded file descriptor. (reulsting in a loop causing: memory leak/high CPU usage)

Mark Michelson mmichelson at digium.com
Tue Jul 6 09:56:53 CDT 2010


On 07/05/2010 01:41 PM, Julien Chavanton wrote:
>
> Hi, I have faced the following problem, only on some servers where 
> interco/dialplan application are different, resulting in a loop that 
> crash servers.
>
> main/channel.c:         ast_log(LOG_ERROR, "ast_read() called with no 
> recorded file descriptor.\n");
>
> I have read the posts I could find on the list and made some research, 
> I am running asterisk-1.6.0.9
> but looking at asterisk-1.6.2.0 it seems we are looging this as an 
> error still.
> I suspect some dead call, cause by glare condition on SIP signaling 
> but even if it was the case, is there a way to protect the server from 
> the loop ?

The problem with the version of Asterisk you are using is that the "no 
recorded file descriptor" error is placed too early in the ast_read() 
function. Have a look at this closed issue for more information about 
what you are seeing: https://issues.asterisk.org/view.php?id=14723






More information about the asterisk-dev mailing list