[asterisk-users] 1.2 AGI Deadlock

Peder peder at networkoblivion.com
Tue Sep 8 10:34:14 CDT 2009


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




More information about the asterisk-users mailing list