<div dir="ltr"><div>Hi everyone,<br><br>It appears that in Asterisk version 1.8.10.1 happens the same problem: <br><br>asterisk1*CLI> core show version<br>Asterisk 1.8.10.1~dfsg-1ubuntu1 built by buildd @ yellow on a x86_64 running Linux on 2012-04-24 12:47:04 UTC<br>
<br>The sip calls doesn't work after next log message: <br><br>[Aug 22 13:56:44] WARNING[25246] chan_sip.c: Unable to cancel schedule ID 11251269. This is probably a bug (chan_sip.c: stop_session_timer, line 25844).<br>
<br>Best regards<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/6 Duane Larson <span dir="ltr"><<a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Looks like version 11.3 did not fix my issue.<div><br></div><div><a href="http://pastebin.com/gd291Bqz" target="_blank">http://pastebin.com/gd291Bqz</a><br>
</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Apr 4, 2013 at 1:23 PM, Duane Larson <span dir="ltr"><<a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks Jim. Searched through the change log for "deadlock" but nothing really stuck out. I'll upgrade to 11.3 and see if that makes a difference.</div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Thu, Apr 4, 2013 at 10:59 AM, Jim Lucas <span dir="ltr"><<a href="mailto:lists@cmsws.com" target="_blank">lists@cmsws.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 04/03/2013 08:15 PM, Duane Larson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So it just happened again on both machines at the same time and I was<br>
running debug on both servers. I am running OpenSIPS and load balancing<br>
between both servers so I am guessing when the invite was sent to the first<br>
server it was frozen for some reason and then OpenSIPS sent the invite to<br>
the second server and that server was also frozen/deadlocked because of the<br>
SIP message. I noticed on both servers the last log that was posted with<br>
Asterisk deadlocked was the following<br>
<br>
<br>
Asterisk version 11.0.1<br>
[Apr 3 21:39:42] DEBUG[12984] res_timing_timerfd.c: Expected to<br>
acknowledge 1 ticks but got 11805 instead<br>
<br>
Asterisk version 11.2.1<br>
[Apr 3 21:39:50] DEBUG[1854] res_timing_timerfd.c: Expected to acknowledge<br>
1 ticks but got 12423 instead<br>
<br>
<br>
In my last email I posted the debug from the Asterisk server with 11.0.1<br>
version of code. Here is a post of the debug for the Asterisk server with<br>
version 11.2.1<br>
<br>
<a href="http://pastebin.com/mbjSSAWM" target="_blank">http://pastebin.com/mbjSSAWM</a><br>
<br>
<br>
This has to be a bug right? I am thinking of opening an issue on the<br>
Asterisk JIRA system<br>
<br>
</blockquote>
<br></div>
A number of deadlocks were fixed in the current release of 11.3. Please read the change log to see if any fit your issue.<br>
<br>
<a href="http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-11-current" target="_blank">http://downloads.asterisk.org/<u></u>pub/telephony/asterisk/<u></u>ChangeLog-11-current</a><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<br>
<br>
On Wed, Apr 3, 2013 at 4:45 PM, Duane Larson <<a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It just happened again on the 11.0.1 box and I was able to grab a debug.<br>
I am hoping someone can tell me if this is a bug or something wrong with<br>
my config.<br>
<br>
gdb asterisk-bin/sbin/asterisk 29048<br>
<br>
Go here for the debug output<br>
<a href="http://pastebin.com/DGXx0BSk" target="_blank">http://pastebin.com/DGXx0BSk</a><br>
<br>
<br>
On Tue, Apr 2, 2013 at 7:42 PM, Duane Larson <<a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>>wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am currently running two different versions of Asterisk<br>
<br>
11.0.1<br>
11.2.1<br>
<br>
I have noticed the bug occur on both servers.<br>
<br>
The issue is that when I try to dial a phone number sometimes the call<br>
will never go out. I will check the Asterisk server with NGREP and see<br>
that the SIP messages are making it to Asterisk but Asterisk isn't<br>
responding.<br>
<br>
I do the following command "netstat -nap |grep 5060" and see that<br>
Asterisk has a lot under the "Recv-Q" column.<br>
<br>
It usually takes about 10 minutes before Asterisk becomes responsive<br>
again or else before 10 minutes is up I could restart Asterisk and<br>
everything will be back to normal.<br>
<br>
I see in the message logs the following errors<br>
<br>
On the 11.0.1 Asterisk server<br>
WARNING[23723][C-00000010] chan_sip.c: Unable to cancel schedule ID<br>
11473. This is probably a bug (chan_sip.c: update_provisional_keepalive,<br>
line 4406).<br>
<br>
On the 11.2.1 Asterisk server<br>
WARNING[3493][C-0000001f] chan_sip.c: Unable to cancel schedule ID 30810.<br>
This is probably a bug (chan_sip.c: update_provisional_keepalive, line<br>
4683).<br>
<br>
<br>
When I look in chan_sip.c on both servers I see that they are the same<br>
line of code<br>
<br>
AST_SCHED_DEL_UNREF(sched, pvt->provisional_keepalive_<u></u>sched_id,<br>
dialog_unref(pvt, "when you delete the provisional_keepalive_sched_<u></u>id, you<br>
should dec the refcount for the stored dialog ptr"));<br>
<br>
<br>
<br>
What could be causing this because it seems to happen at least once a day.<br>
<br>
</blockquote>
<br>
<br>
<br>
--<br>
--<br>
*--*--*--*--*--*<br>
Duane<br>
*--*--*--*--*--*<br>
--<br>
<br>
</blockquote>
<br>
<br>
<br>
<br>
<br>
--<br></div></div>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
<br><span><font color="#888888">
</font></span></blockquote><span><font color="#888888">
<br>
<br>
-- <br>
Jim Lucas<br>
<br>
<a href="http://www.cmsws.com/" target="_blank">http://www.cmsws.com/</a><br>
<a href="http://www.cmsws.com/examples/" target="_blank">http://www.cmsws.com/examples/</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--
</div>
</div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Jonás Regueira Rodríguez<br>
Técnico de Comunicaciones - Área de Infraestructuras TIC<br>
Correo: <a href="mailto:aglopez@ull.es" target="_blank">jregueir@ull.es</a> Web: <a href="http://www.stic.ull.es/" target="_blank">http://www.stic.ull.es</a><br>
Servicio de Tecnologías de la Información y la Comunicación (STIC)<br>
Universidad de La Laguna (ULL)<br>
--<br>
<br>
Este mensaje puede contener información confidencial y/o privilegiada.<br>
Si usted no es el destinatario o lo ha recibido por error debe borrarlo<br>
inmediatamente. Está estrictamente prohibido por la legislación vigente realizar<br>
cualquier copia, revelación o distribución del contenido de este mensaje<br>
sin autorización expresa.<br>
<br>
This e-mail may contain confidential and/or privileged information.<br>
If you are not the intended recipient or have received this e-mail in<br>
error you must destroy it. Any unauthorised copying, disclosure or distribution<br>
of the material in this e-mail is strictly forbidden by current legislation.
</div>