Dec 1 12:08:43 WARNING[6189]: channel.c:495 ast_channel_walk_locked: Avoided deadlock for 'SIP/2502-6303', 10 retries! Dec 1 12:08:44 WARNING[6189]: channel.c:495 ast_channel_walk_locked: Avoided deadlock for 'SIP/2502-6303', 10 retries! Dec 1 12:08:44 WARNING[6189]: channel.c:495 ast_channel_walk_locked: Avoided deadlock for 'SIP/2502-6303', 10 retries! what does this warning really mean? I have tones of them!!!!! does it have any side effect on my * box? 'cose I've recently had random seg. faults on my box. I'm using latest CVS -r v1-0
at the same time I have also this notice log. this makes my problem more meaningful. i think it might be a bug inside *. (am i right?) Dec 1 12:44:46 NOTICE[6189]: Disconnecting call 'SIP/2502-6303' for lack of RTP activity in 4794 seconds Dec 1 12:44:47 NOTICE[6189]: Disconnecting call 'SIP/2502-6303' for lack of RTP activity in 4795 seconds Dec 1 12:44:47 NOTICE[6189]: Disconnecting call 'SIP/2502-6303' for lack of RTP activity in 4795 seconds Paradise Dove> Dec 1 12:08:43 WARNING[6189]: channel.c:495 ast_channel_walk_locked: > Avoided deadlock for 'SIP/2502-6303', 10 retries! > Dec 1 12:08:44 WARNING[6189]: channel.c:495 ast_channel_walk_locked: > Avoided deadlock for 'SIP/2502-6303', 10 retries! > Dec 1 12:08:44 WARNING[6189]: channel.c:495 ast_channel_walk_locked: > Avoided deadlock for 'SIP/2502-6303', 10 retries! > > what does this warning really mean? I have tones of them!!!!! > does it have any side effect on my * box? 'cose I've recently had > random seg. faults on my box. > I'm using latest CVS -r v1-0 > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >
Hello, I had this problem a few months ago on a machine that I did a lot of recording on. It was caused by slow disk access time. Asterisk would wait for something to write to disk and basically freeze everything. It would always eventually happen to the same machine no matter if I wiped it completely and did a full reinstall. I fixed it by buying 4 new 320-SCSI drives and a new 320SCSI RAID card, no problems since then(6 months). I did report this to Digium several times, they were even in my machine a few times to monitor it, they had no clue what was causing it, and the ast_channel_walk_locked bug has no documentation anywhere about it(not much help to look in the code either). Hope this helps. MATT--- -----Original Message----- From: Bartosz Jozwiak [mailto:bartek@cq-link.sr] Sent: Wednesday, December 01, 2004 6:40 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Avoided deadlock> at the same time I have also this notice log. > this makes my problem more meaningful. > i think it might be a bug inside *. (am i right?) > > Dec 1 12:44:46 NOTICE[6189]: Disconnecting call 'SIP/2502-6303' for > lack of RTP activity in 4794 seconds > Dec 1 12:44:47 NOTICE[6189]: Disconnecting call 'SIP/2502-6303' for > lack of RTP activity in 4795 seconds > Dec 1 12:44:47 NOTICE[6189]: Disconnecting call 'SIP/2502-6303' for > lack of RTP activity in 4795 seconds > > Paradise Dove > > > Dec 1 12:08:43 WARNING[6189]: channel.c:495 ast_channel_walk_locked: > > Avoided deadlock for 'SIP/2502-6303', 10 retries! > > Dec 1 12:08:44 WARNING[6189]: channel.c:495 ast_channel_walk_locked: > > Avoided deadlock for 'SIP/2502-6303', 10 retries! > > Dec 1 12:08:44 WARNING[6189]: channel.c:495 ast_channel_walk_locked: > > Avoided deadlock for 'SIP/2502-6303', 10 retries! > > > > what does this warning really mean? I have tones of them!!!!! > > does it have any side effect on my * box? 'cose I've recently had > > random seg. faults on my box. > > I'm using latest CVS -r v1-0I have the same problem as you. But so far did not find an asnwer for it. Bartosz _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
Hello, 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. It might also help to know what kind of SIP client you are using (hard/soft phone) and what the network you are on is like. MATT--- -----Original Message----- From: Paradise Dove [mailto:pardove@gmail.com] Sent: Wednesday, December 01, 2004 7:56 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Avoided deadlock but i have already an UltraWide 320 Scsi HardDisk installed on my * box. seems that this won't be the cause of my problem at least. i think that it should be something betweeen these two errors: - NOTICE[6189]: Disconnecting call 'SIP/2502-6303' for lack of RTP activity in 4794 seconds - WARNING[6189]: channel.c:495 ast_channel_walk_locked: Avoided deadlock for 'SIP/2502-6303', 10 retries! I have these two lines in my sip.conf rtptimeout=300 rtpholdtimeout=480 it seems that these options don't work as expected. Paradise Dove On Wed, 1 Dec 2004 07:11:53 -0500, mattf <mattf@vicimarketing.com> wrote:> Hello, > > I had this problem a few months ago on a machine that I did a lot of > recording on. It was caused by slow disk access time. Asterisk would wait > for something to write to disk and basically freeze everything. It would > always eventually happen to the same machine no matter if I wiped it > completely and did a full reinstall. I fixed it by buying 4 new 320-SCSI > drives and a new 320SCSI RAID card, no problems since then(6 months). > > I did report this to Digium several times, they were even in my machine a > few times to monitor it, they had no clue what was causing it, and the > ast_channel_walk_locked bug has no documentation anywhere about it(notmuch> help to look in the code either). > > Hope this helps. > > MATT--- > > > > > -----Original Message----- > From: Bartosz Jozwiak [mailto:bartek@cq-link.sr] > Sent: Wednesday, December 01, 2004 6:40 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Avoided deadlock > > > at the same time I have also this notice log. > > this makes my problem more meaningful. > > i think it might be a bug inside *. (am i right?) > > > > Dec 1 12:44:46 NOTICE[6189]: Disconnecting call 'SIP/2502-6303' for > > lack of RTP activity in 4794 seconds > > Dec 1 12:44:47 NOTICE[6189]: Disconnecting call 'SIP/2502-6303' for > > lack of RTP activity in 4795 seconds > > Dec 1 12:44:47 NOTICE[6189]: Disconnecting call 'SIP/2502-6303' for > > lack of RTP activity in 4795 seconds > > > > Paradise Dove > > > > > Dec 1 12:08:43 WARNING[6189]: channel.c:495 ast_channel_walk_locked: > > > Avoided deadlock for 'SIP/2502-6303', 10 retries! > > > Dec 1 12:08:44 WARNING[6189]: channel.c:495 ast_channel_walk_locked: > > > Avoided deadlock for 'SIP/2502-6303', 10 retries! > > > Dec 1 12:08:44 WARNING[6189]: channel.c:495 ast_channel_walk_locked: > > > Avoided deadlock for 'SIP/2502-6303', 10 retries! > > > > > > what does this warning really mean? I have tones of them!!!!! > > > does it have any side effect on my * box? 'cose I've recently had > > > random seg. faults on my box. > > > I'm using latest CVS -r v1-0 > > I have the same problem as you. But so far did not find an asnwer for it. > > Bartosz > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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@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@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
In my experience with ast_channel_walk_locked every time this WARNING came up all audio streams on my asterisk server stopped for between 1-10 seconds. In my case, this WARNING was the only indication of something going wrong, there was no other output anywhere that described something going wrong at the times when the problem would occur. I know that this is not technically an ERROR, but it is usually an indication of a serious problem that is very hard to diagnose because it can be caused by many different things, none of which is easily decipherable from the assorted WARNINGS, ERRORS or DEBUG messages given. Is there any way to find a more descriptive message of what would be causing ast_channel_walk_locked WARNINGS on a particular machine? MATT--- -----Original Message----- From: Brian West [mailto:brian@bkw.org] Sent: Wednesday, December 01, 2004 9:59 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Avoided deadlock 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@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
Can anyone shed any light on why I am getting so many warnings on this particular channel - the lady using the phone says that she hasn't had any problems today. However, the number of warnings is concerning to me. As you can see, the vast majority of the issues seem to be with the one phone. Julian. Jan 25 11:06:11 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:06:20 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:06:20 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:06:25 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:06:29 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:06:29 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:01 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:02 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:03 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:04 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:04 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:04 WARNING[24146]: Avoided initial deadlock for 'Agent/6017', 10 retries! Jan 25 11:07:04 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:05 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:05 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:05 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:06 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:10 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:17 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:17 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:17 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:23 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:23 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:27 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:31 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:31 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:31 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:35 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:37 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:37 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:37 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:37 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:39 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:40 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:40 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:46 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:46 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:49 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:49 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:51 WARNING[24146]: Unable to forward frame Jan 25 11:07:51 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:51 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:58 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:07:59 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:08:03 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:08:14 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:08:21 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries! Jan 25 11:08:21 WARNING[24146]: Avoided deadlock for 'SIP/6711-89c7', 10 retries!
but still the main question mark remains!!!!: what are the possible causes which make this warning appear???? thanks! On Tue, 1 Feb 2005 18:10:03 +0330, Paradise Dove <pardove@gmail.com> wrote:> but still the main question mark remains!!!!: > what are the possible causes which make this warning appear???? > > thanks! > > On Tue, 25 Jan 2005 16:36:29 -0500, Paul Rodan <asterisk@glitch.cc> wrote: > > This started showing up a few upgrades ago. It always avoids a deadlock, for > > SIP and IAX, it's friggin annoying but I don't see any actual issues, > > everything works as normal. > > > > The most common device it "avoids" a deadlock on is my Cisco 3640 router. I > > have 6 Voice T1/PRI's plugged into it, it converts it to/from SIP. My > > Asterisk server will go to push a call to the Cisco via SIP and I get that > > message quite often, but the call goes through perfectly. > > > > Seems like a waste to log it if nothing is actually wrong and everything > > works normal. I can't seem to find out if it's giving me a warning about > > something that should not occur. I've rebooted the Cisco 3640 and my > > Asterisk server to no Avail. > > > > I'm using a Super Micro Celeron 2.8ghz w/ 512mb of RAM and a 40gb IDE hard > > drive, running Gentoo 2004.3; No digium hardware, just zaptel/zaprtc w/ > > rtcsetup running in the background. > > > > > > -----Original Message----- > > From: asterisk-users-bounces@lists.digium.com > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Paradise Dove > > Sent: Tuesday, January 25, 2005 3:10 PM > > To: brett@worldcall.net; Asterisk Users Mailing List - Non-Commercial > > Discussion > > Subject: Re: [Asterisk-Users] Avoided deadlock > > > > 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@worldcall.net > > <brett-asterisk@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@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@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@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 > > > > >