[asterisk-users] Deadlock while using MGCP on Asterisk

Adrien Lemoine alemoine at legos.fr
Wed Mar 3 09:52:42 CST 2010


Hello guys,

 

Finally I have done the upgrade.

 

There’s no more deadlock now ! Thanks.

 

Something still goes wrong and I don’t find anything on that :

 

Most of users connected on Asterisk/MGCP cannot place calls because a hang
up ringback tone triggered while typing the phone number on the phone.

 

What I can see with Wireshark is :

 

CPE NTFY ; Asterisk OK ; Asterisk CRCX With SDP ; Asterisk RQNT ; CPE OK
with SDP ; CPE OK

 

 for 4/5 times whereas with a good call this happened 1 time.

 

And in Warning/full :

 

WARNING[11145] chan_mgcp.c: Maximum retries exceeded for transaction 33708
on [030303030303]

 

[Mar  2 19:30:05] NOTICE[11145] chan_mgcp.c: Removing message from
026244104989 transaction 49481

[Mar  2 19:30:07] NOTICE[11145] chan_mgcp.c: Got response back on
[026244104989] for transaction 49470 we aren't sending?

[Mar  2 19:30:07] NOTICE[11145] chan_mgcp.c: Got response back on
[026244104989] for transaction 49471 we aren't sending?

 

I don’t understand these outputs.

 

Can you help me to clarify ?

 

Regards,

 

Adrien .L

 

De : Adrien Lemoine [mailto:alemoine at legos.fr] 
Envoyé : jeudi 25 février 2010 18:57
À : 'Miguel Molina'; 'Asterisk Users Mailing List - Non-Commercial
Discussion'
Cc : 'mmichelson at digium.com'
Objet : RE: [asterisk-users] Deadlock while using MGCP on Asterisk

 

Thank you guys for your feedback.

 

I consider the upgrading to 1.4.29.1. 

 

Does it can definitively prevent me from this kind of freeze ?


Regards,

 

Adrien .L

 

De : Miguel Molina [mailto:mmolina at millenium.com.co] 
Envoyé : jeudi 25 février 2010 18:21
À : alemoine at legos.fr; Asterisk Users Mailing List - Non-Commercial
Discussion
Objet : Re: [asterisk-users] Deadlock while using MGCP on Asterisk

 

Adrien Lemoine escribió: 

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

 

That kind of "Avoided deadlock..." messages, typical for early 1.2 systems
have gone on recent versions on 1.4.X and higher. Did you consider
upgrading?

Regards,

-- 
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100303/eea651b6/attachment.htm 


More information about the asterisk-users mailing list