[asterisk-dev] Deadlock while using MGCP on Asterisk

Adrien Lemoine alemoine at legos.fr
Thu Feb 25 10:19:47 CST 2010


Hello all,

 

I'm running Asterisk 1.2.35 with chan_mgcp activated.

 

The process host around 2,4K users.

 

Along the day I've got some debug reports like :

 

Feb 24 22:25:42 DEBUG[28546] channel.c: Avoiding deadlock for
'MGCP/aaln/1 at 028421223635-1'

Feb 24 22:29:04 DEBUG[28670] channel.c: Avoiding initial deadlock for
'MGCP/aaln/1 at 028421223635-1'

 

Then, at random time (around 10~16 hours after a restart), Asterisk comes
into deadlocks :

 

Feb 25 16:28:22 WARNING[8149] channel.c: Avoided deadlock for '0xb713cb60',
9 retries!

Feb 25 16:29:07 WARNING[8180] channel.c: Avoided initial deadlock for
'0xb713cb60', 9 retries!

Feb 25 16:40:21 WARNING[8629] channel.c: Avoided initial deadlock for
'0xb713cb60', 9 retries!

 

Avoided seems to correlate that Asterisk is in deadlock status. I put in
attached a gdb output during the deadlock if it can helps.

 

How can I correct these errors and avoid the crash not the deadlock J

 

Regards,

 

Adrien .L

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100225/73b24030/attachment-0001.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 100225_deadlock.txt
Url: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100225/73b24030/attachment-0001.txt 


More information about the asterisk-dev mailing list