[Asterisk-Users] Avoided deadlock
Paradise Dove
pardove at gmail.com
Tue Jan 25 13:09:31 MST 2005
it would help to know all the possible causes for this warning,
something like:
- kernel
- hardware latency (MB, cpu, ...)
- buggy sip device
- lack of resource
- ...
just let us know if anybody knows.
thanks,
Paradise Dove
On Mon, 24 Jan 2005 11:28:34 -0600, brett-asterisk at worldcall.net
<brett-asterisk at worldcall.net> wrote:
> Brian West wrote:
>
> >Repeat after me... WARNING != ERROR. This is just letting you know that it
> >walked the channel list and did avoid a dead lock by not trying to grab a
> >lock on a channel that's already locked.
> >
> > if (ast_mutex_trylock(&l->lock)) {
> > if (retries < 10)
> > ast_log(LOG_DEBUG, "Avoiding initial deadlock for
> >'%s'\n", l->name);
> > else
> > ast_log(LOG_WARNING, "Avoided initial deadlock for '%s',
> >%d retries!\n", l->name, retries);
> >
> >
> >Read the code it tells you... channel.c
> >
> >bkw
> >
> >
> >
> >>I'd suggest posting a bug if you haven't already and if you have purchased
> >>any Digium products I would recommend calling them as well. The
> >>ast_channel_walk_locked error is a rare and hard to diagnose problem and
> >>the
> >>bug trackers and Digium would be the best people to help you.
> >>
> >>
> >
> >
> >_______________________________________________
> >Asterisk-Users mailing list
> >Asterisk-Users at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list