Adrien Lemoine
2010-Feb-25 16:19 UTC
[asterisk-users] Deadlock while using MGCP on Asterisk
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-users/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-users/attachments/20100225/73b24030/attachment-0001.txt
Miguel Molina
2010-Feb-25 17:20 UTC
[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/20100225/9f98fa4d/attachment.htm