[Asterisk-Users] Avoided deadlock

brett-asterisk at worldcall.net brett-asterisk at worldcall.net
Mon Jan 24 10:28:34 MST 2005


Brian West wrote:

>Repeat after me... WARNING != ERROR.  This is just letting you know that it
>walked the channel list and did avoid a dead lock by not trying to grab a
>lock on a channel that's already locked.
>
>            if (ast_mutex_trylock(&l->lock)) {
>                if (retries < 10)
>                    ast_log(LOG_DEBUG, "Avoiding initial deadlock for
>'%s'\n", l->name);
>                else
>                    ast_log(LOG_WARNING, "Avoided initial deadlock for '%s',
>%d retries!\n", l->name, retries);
>
>
>Read the code it tells you... channel.c 
>
>bkw
>
>  
>
>>I'd suggest posting a bug if you haven't already and if you have purchased
>>any Digium products I would recommend calling them as well. The
>>ast_channel_walk_locked error is a rare and hard to diagnose problem and
>>the
>>bug trackers and Digium would be the best people to help you.
>>    
>>
>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>





More information about the asterisk-users mailing list