I am running 1.2.34 (also tried on 1.2.32) and whenever I launch an AGI, I get the "avoided deadlock" message below. *CLI> == Spawn extension (CONTEXT3, 6080, 8) exited non-zero on 'SIP/3211-1-081c40a8' -- Executing NoOp("SIP/3211-1-081c40a8", "") in new stack -- Executing AGI("SIP/3211-1-081c40a8", "diallocal.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/diallocal.agi Sep 8 10:29:43 WARNING[28938]: channel.c:780 channel_find_locked: Avoided initial deadlock for '0x818dcc0', 9 retries! -- AGI Script diallocal.agi completed, returning 0 This is purely a test box and it has two phones on it and one AGI, so there is no issue with utilization. Everything I read about deadlocks says this is a bad thing. I know it says "avoided deadlock", but this happens every single time I use an AGI, even with nothing else happening on the box. Is this really something I should be concerned about, or is it no big deal? I am worried that if I put this into production with 200+ phones, it will cause Asterisk to die. Peder
A deadlock? In 1.2? Really? :) Peder wrote:> I am running 1.2.34 (also tried on 1.2.32) and whenever I launch an AGI, I > get the "avoided deadlock" message below. > > > *CLI> == Spawn extension (CONTEXT3, 6080, 8) exited non-zero on > 'SIP/3211-1-081c40a8' > -- Executing NoOp("SIP/3211-1-081c40a8", "") in new stack > -- Executing AGI("SIP/3211-1-081c40a8", "diallocal.agi") in new stack > -- Launched AGI Script /var/lib/asterisk/agi-bin/diallocal.agi > Sep 8 10:29:43 WARNING[28938]: channel.c:780 channel_find_locked: Avoided > initial deadlock for '0x818dcc0', 9 retries! > -- AGI Script diallocal.agi completed, returning 0 > > > This is purely a test box and it has two phones on it and one AGI, so there > is no issue with utilization. Everything I read about deadlocks says this > is a bad thing. I know it says "avoided deadlock", but this happens every > single time I use an AGI, even with nothing else happening on the box. Is > this really something I should be concerned about, or is it no big deal? I > am worried that if I put this into production with 200+ phones, it will > cause Asterisk to die. > > Peder > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Alex Balashov - Principal Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671
> Peder wrote: > >> I am running 1.2.34 (also tried on 1.2.32) and whenever I launch an >> AGI, I get the "avoided deadlock" message below.On Tue, 8 Sep 2009, Alex Balashov wrote:> A deadlock? In 1.2? Really? :)Well, that was helpful. As a fellow 1.2 Luddite, I have boxes running xxx simultaneous channels, all running xx AGIs per call with no problems. First off, unless you have good reasons, you should move to a newer version just to improve your chances of getting meaningful support on this list. Do you get this deadlock message when you launch any AGI, for example, agi-test.agi? -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000