<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 "select A from B where C like D" 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> </div><div> </div><div>24.02.2016, 14:37, "Rodrigo Pimenta Carvalho" &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> </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> </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> </p><p>Regards.</p><p> </p><div><div><div><div>RODRIGO PIMENTA CARVALHO<br /> Inatel Competence Center<br /> Software<br /> Ph: <span>+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 color="#000000" face="Calibri, sans-serif" style="font-size:11pt;"><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 Чалков Артём &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> </div></div><div><div>Hi all!</div><div> </div><div>My opensips version:</div><div>opensips 2.1.2 (x86_64/linux)</div><div>git revision: 44cc594</div><div> </div><div>I use opensips with uac_registrant module and sometimes in log appears these warnings (2-3 warnings every hour):</div><div> </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> </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> </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 uac_reg_check appears first in large quantities. 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. After some time (2-3 hours) flood stops and problem disappears itself without any workaround on my side. </p><p>I know about similar issue with radius (<a href="http://comments.gmane.org/gmane.comp.voip.opensips.user/31415" title="Ctrl+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>