<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<p>Hi.</p>
<p>Good question.</p>
<p>I still have to remove all queries from my script, for a while, and see if it will change the behavior.</p>
<p>Let's see...<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Best regards.<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: &#43;55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b> users-bounces@lists.opensips.org &lt;users-bounces@lists.opensips.org&gt; em nome de &#1063;&#1072;&#1083;&#1082;&#1086;&#1074; &#1040;&#1088;&#1090;&#1105;&#1084; &lt;achalkov@ya.ru&gt;<br>
<b>Enviado:</b> quinta-feira, 25 de fevereiro de 2016 10:28<br>
<b>Para:</b> OpenSIPS users mailling list<br>
<b>Assunto:</b> Re: [OpenSIPS-Users] WARNING:core:timer_ticker: timer task &lt;uac_reg_check&gt; already schedualed</font>
<div>&nbsp;</div>
</div>
<div>
<div>Hmm, i doubt that simlpe queries could lead to blocking all processes, because i have other opensips with huge amount of processing with avp_db_query, and it works fine for years including period after it was updated to 2.1.x.</div>
<div>On my opensips with uac_reg_check problem i have not too much traffic and it seems as avp_db_query with simple query like &quot;select A from B where C like D&quot; runs something like 10 times in a hour or maybe slightly more often.</div>
<div>So, if simple queries, using via avp_db_query, could lock processes on opensips, how ho fetch data from DB to script?</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>24.02.2016, 14:37, &quot;Rodrigo Pimenta Carvalho&quot; &lt;pimenta@inatel.br&gt;:</div>
<blockquote type="cite">
<div>
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Yarkob.</p>
<p>&nbsp;</p>
<p>I'm getting almost the same problem here.</p>
<p>So, I have discussed about it in this list since 2 days ago.</p>
<p>&nbsp;</p>
<p>I didn't find the solution, but you can see those discussion from me.</p>
<p>In my case, I have some SQL queries that executes in my opensips.cfg file. I will try to investigate if such queries are blocking next processes for OpenSIPS. Let's see....</p>
<p>&nbsp;</p>
<p>Regards.</p>
<p>&nbsp;</p>
<div>
<div>
<div>
<div>RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: <span>&#43;55 35 3471 9200</span> RAMAL 979</div>
</div>
</div>
</div>
<br>
<br>
<div style="color:#000000">
<hr style="display:inline-block; width:98%">
<div><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b>
<a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a> &lt;<a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>&gt; em nome de &#1063;&#1072;&#1083;&#1082;&#1086;&#1074; &#1040;&#1088;&#1090;&#1105;&#1084; &lt;<a href="mailto:achalkov@ya.ru">achalkov@ya.ru</a>&gt;<br>
<b>Enviado:</b> terça-feira, 23 de fevereiro de 2016 21:50<br>
<b>Para:</b> users &amp;gt;&amp;gt; OpenSIPS users mailling list<br>
<b>Assunto:</b> [OpenSIPS-Users] WARNING:core:timer_ticker: timer task &lt;uac_reg_check&gt; already schedualed</font>
<div>&nbsp;</div>
</div>
<div>
<div>Hi all!</div>
<div>&nbsp;</div>
<div>My opensips&nbsp;version:</div>
<div>opensips 2.1.2 (x86_64/linux)</div>
<div>git revision: 44cc594</div>
<div>&nbsp;</div>
<div>I use opensips with uac_registrant module and sometimes in log appears these warnings (2-3 warnings every hour):</div>
<div>&nbsp;</div>
<div>Feb 17 21:34:56 opensips-uac /usr/sbin/opensips[12971]: WARNING:core:timer_ticker: timer task &lt;uac_reg_check&gt; already schedualed for
<span>62923880</span> ms (now <span>62924880</span> ms), itmay overlap..</div>
<div>&nbsp;</div>
<div>Timer offset leads me to approx. (with some little offset like 1-10 minutes) time, when my opensips restarting every day (via service opensips restart).</div>
<div>&nbsp;</div>
<div>In particular rare cases (1-2 times in month or rarely) it leads to flood with below warnings:</div>
<div>
<p>Feb 17 21:59:36 opensips-uac /usr/sbin/opensips[12971]: WARNING:core:timer_ticker: timer task &lt;tm-timer&gt; already schedualed for
<span>64393870</span> ms (now <span>64395870</span> ms), it may o<br>
verlap..<br>
Feb 17 21:59:36 opensips-uac /usr/sbin/opensips[12971]: WARNING:core:utimer_ticker: utimer task &lt;tm-utimer&gt; already schedualed for
<span>64395870</span> ms (now <span>64395970</span> ms), it ma<br>
y overlap..<br>
Feb 17 21:59:36 opensips-uac /usr/sbin/opensips[12971]: WARNING:core:utimer_ticker: utimer task &lt;tm-utimer&gt; already schedualed for
<span>64395970</span> ms (now <span>64396060</span> ms), it ma<br>
y overlap..</p>
<p>But every time it happens, warnings with&nbsp;uac_reg_check appears first&nbsp;in large quantities.&nbsp;While it happens, opensips starts to ignore most incoming traffic. In log with debug=4 i doesn't see any unusual entrys before it starts.&nbsp;After some time (2-3 hours)
 flood stops and problem disappears itself without any workaround on my side.&nbsp;</p>
<p>I know about similar issue with radius (<a href="http://comments.gmane.org/gmane.comp.voip.opensips.user/31415" title="Ctrl&#43;Clique ou toque para seguir o link">http://comments.gmane.org/gmane.comp.voip.opensips.user/31415</a>), but i'm not using radius in
 my configuration, so can it be some new issue or it is a same issue and it would be resolved, as planned, in v.2.2?</p>
</div>
</div>
</div>
</div>
</div>
,
<p>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p>
</blockquote>
</div>
</div>
</div>
</body>
</html>