[Asterisk-Users] What causes deadlock?
Andy Kuo
akuoca at gmail.com
Wed Apr 5 22:21:12 MST 2006
I sometimes get these WARNINGs too.
I would like to know what causes it and how to avoid them too.
Thanks.
Andy
On 4/5/06, Chuck Bunn <chuck.bunn at networkdoc.com> wrote:
> Hi
>
> What causes deadlock?
>
> Apr 5 14:02:43 WARNING[2413] channel.c: Avoided initial deadlock for
> '0x82acb10', 10 retries!
> Apr 5 14:02:43 WARNING[2413] channel.c: Avoided initial deadlock for
> '0x8298160', 10 retries!
>
> Here is the portion of the log:
>
> Apr 5 14:02:42 NOTICE[23363] chan_zap.c: Got event 18 (Ring Begin)...
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Executing
> Answer("Zap/5-1", "") in new stack
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Executing
> SetMusicOnHold("Zap/5-1", "default") in new stack
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Executing
> DigitTimeout("Zap/5-1", "5") in new stack
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Set Digit Timeout to 5
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Executing
> ResponseTimeout("Zap/5-1", "30") in new stack
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Set Response Timeout to 30
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Executing
> GotoIfTime("Zap/5-1", "8:00-21:00|*|*|*?default|s|7") in new stack
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Goto (default,s,7)
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Executing
> Queue("Zap/5-1", "extensions-home|tr|||25") in new stack
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- outgoing agentcall, to
> agent '3005', on 'Local/413 at default-2959,1'
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Called Agent/3005
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- outgoing agentcall, to
> agent '3002', on 'Local/510 at default-25e1,1'
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Called Agent/3002
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- outgoing agentcall, to
> agent '3001', on 'Local/411 at default-d873,1'
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Called Agent/3001
> Apr 5 14:02:42 VERBOSE[23365] logger.c: -- Executing
> Macro("Local/413 at default-2959,2", "stdexten|413|SIP/413") in new stack
> Apr 5 14:02:42 VERBOSE[23365] logger.c: -- Executing
> Set("Local/413 at default-2959,2", "DYNAMIC_FEATURES=automon") in new stack
> Apr 5 14:02:42 VERBOSE[23365] logger.c: -- Executing
> Dial("Local/413 at default-2959,2", "SIP/413|20|Ttw") in new stack
> Apr 5 14:02:42 VERBOSE[23365] logger.c: -- Called 413
> Apr 5 14:02:42 VERBOSE[23366] logger.c: -- Executing
> Macro("Local/510 at default-25e1,2", "stdexten|510|SIP/510") in new stack
> Apr 5 14:02:42 VERBOSE[23366] logger.c: -- Executing
> Set("Local/510 at default-25e1,2", "DYNAMIC_FEATURES=automon") in new stack
> Apr 5 14:02:42 VERBOSE[23366] logger.c: -- Executing
> Dial("Local/510 at default-25e1,2", "SIP/510|20|Ttw") in new stack
> Apr 5 14:02:42 VERBOSE[23366] logger.c: -- Called 510
> Apr 5 14:02:42 VERBOSE[23367] logger.c: -- Executing
> Macro("Local/411 at default-d873,2", "stdexten|411|SIP/411") in new stack
> Apr 5 14:02:42 VERBOSE[23367] logger.c: -- Executing
> Set("Local/411 at default-d873,2", "DYNAMIC_FEATURES=automon") in new stack
> Apr 5 14:02:42 VERBOSE[23367] logger.c: -- Executing
> Dial("Local/411 at default-d873,2", "SIP/411|20|Ttw") in new stack
> Apr 5 14:02:42 VERBOSE[23367] logger.c: -- Called 411
> Apr 5 14:02:42 VERBOSE[23366] logger.c: -- SIP/510-1cb8 is ringing
> Apr 5 14:02:42 VERBOSE[23363] logger.c: -- Agent/3002 is ringing
> Apr 5 14:02:43 VERBOSE[23365] logger.c: -- SIP/413-d49e is ringing
> Apr 5 14:02:43 VERBOSE[23363] logger.c: -- Agent/3005 is ringing
> Apr 5 14:02:43 VERBOSE[23365] logger.c: -- SIP/413-d49e is ringing
> Apr 5 14:02:43 VERBOSE[23367] logger.c: -- SIP/411-1a1a is ringing
> Apr 5 14:02:43 VERBOSE[23363] logger.c: -- Agent/3001 is ringing
> Apr 5 14:02:43 VERBOSE[23366] logger.c: -- SIP/510-1cb8 answered
> Local/510 at default-25e1,2
> Apr 5 14:02:43 VERBOSE[23363] logger.c: -- Agent/3002 answered Zap/5-1
> Apr 5 14:02:43 VERBOSE[23365] logger.c: == Spawn extension
> (macro-stdexten, s, 2) exited non-zero on 'Local/413 at default-2959,2' in
> macro 'stdexten'
> Apr 5 14:02:43 VERBOSE[23365] logger.c: == Spawn extension
> (macro-stdexten, s, 2) exited non-zero on 'Local/413 at default-2959,2'
> Apr 5 14:02:43 VERBOSE[23367] logger.c: == Spawn extension
> (macro-stdexten, s, 2) exited non-zero on 'Local/411 at default-d873,2' in
> macro 'stdexten'
> Apr 5 14:02:43 VERBOSE[23367] logger.c: == Spawn extension
> (macro-stdexten, s, 2) exited non-zero on 'Local/411 at default-d873,2'
> Apr 5 14:02:43 VERBOSE[23366] logger.c: == Spawn extension
> (macro-stdexten, s, 2) exited non-zero on 'Local/510 at default-25e1,2' in
> macro 'stdexten'
> Apr 5 14:02:43 VERBOSE[23366] logger.c: == Spawn extension
> (macro-stdexten, s, 2) exited non-zero on 'Local/510 at default-25e1,2'
> Apr 5 14:02:43 WARNING[2413] channel.c: Avoided initial deadlock for
> '0x82acb10', 10 retries!
> Apr 5 14:02:43 WARNING[2413] channel.c: Avoided initial deadlock for
> '0x8298160', 10 retries!
> Apr 5 14:03:22 VERBOSE[2424] logger.c: -- Registered SIP '412' at
> 10.0.0.68 port 5060 expires 120
> Apr 5 14:05:35 VERBOSE[23363] logger.c: == Spawn extension (default,
> s, 7) exited non-zero on 'Zap/5-1'
> Apr 5 14:05:35 VERBOSE[23363] logger.c: -- Hungup 'Zap/5-1'
> Apr 5 14:05:35 VERBOSE[2424] logger.c: -- Stopped music on hold on
> Zap/1-1
> Apr 5 14:06:26 NOTICE[2424] chan_sip.c: Peer '412' is now UNREACHABLE!
> Last qualify: 51
> Apr 5 14:06:47 VERBOSE[23321] logger.c: -- Hungup 'Zap/1-1'
> Apr 5 14:06:47 VERBOSE[23321] logger.c: == Spawn extension
> (longdistance, 93795943, 1) exited non-zero on 'SIP/510-7dee'
> Apr 5 14:06:49 VERBOSE[23413] logger.c: -- Starting simple switch
> on 'Zap/6-1'
> Apr 5 14:06:53 NOTICE[23413] chan_zap.c: Got event 18 (Ring Begin)...
> Apr 5 14:06:55 NOTICE[23413] chan_zap.c: Got event 2 (Ring/Answered)..
>
> Thanks
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list