<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<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 Steve.</p>
<p><br>
</p>
<p>The values that you have commented is used by the "make menuconfig". That is, as long as these are the values chosen by the standard configuration, I believe that such values wouldn't be causing problems.</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: +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" face="Calibri, sans-serif" color="#000000"><b>De:</b> Steve Woolley <steve.woolley@me.com><br>
<b>Enviado:</b> quarta-feira, 8 de junho de 2016 09:12<br>
<b>Para:</b> OpenSIPS users mailling list<br>
<b>Cc:</b> Bogdan-Andrei Iancu; Rodrigo Pimenta Carvalho<br>
<b>Assunto:</b> Re: [OpenSIPS-Users] Continuous "WARNING:core:timer_ticker: timer task <tm-timer> already scheduled" messages in log</font>
<div> </div>
</div>
<div><font class="" face="Courier">So i made two changes to my config:</font>
<div class="">
<ol class="">
<li class=""><span class="" style="font-family:Courier">per Bogdan, changed my timer_partitions to: modparam("tm", "timer_partitions", 4)</span></li><li class=""><font class="" face="Courier">I had previously used some settings found in a number of configuration examples in my transaction module. After a little research, I commented them out. Still doing some research into whether these new (default) values
may trigger other problems. My new config is as so (snippet):</font></li></ol>
</div>
<blockquote class="" style="margin:0 0 0 40px; border:none; padding:0px">
<div class="">
<div class=""><font class="" face="Courier">#### Transaction Module</font></div>
</div>
<div class="">
<div class=""><font class="" face="Courier">loadmodule "tm.so"</font></div>
</div>
<div class="">
<div class=""><font class="" face="Courier"># modparam("tm", "fr_timeout", 5)</font></div>
</div>
<div class="">
<div class=""><font class="" face="Courier"># modparam("tm", "fr_inv_timeout", 30)</font></div>
</div>
<div class="">
<div class=""><font class="" face="Courier"># modparam("tm", "restart_fr_on_each_reply", 0)</font></div>
</div>
<div class="">
<div class=""><font class="" face="Courier"># modparam("tm", "onreply_avp_mode", 1)</font></div>
</div>
<div class="">
<div class=""><font class="" face="Courier">modparam("tm", "timer_partitions", 4)</font></div>
</div>
</blockquote>
<div class=""><font class="" face="Courier"><br class="">
</font></div>
<div class=""><font class="" face="Courier"><br class="">
</font></div>
<div class=""><font class="" face="Courier">Since making these changes and restarting, the messages have gone away.</font></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><br class="Apple-interchange-newline">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jun 7, 2016, at 6:47 AM, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" class="">bogdan@opensips.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div bgcolor="#FFFFFF" class=""><tt class="">Hello Steve,<br class="">
<br class="">
What OpenSIPS tells you is that you the TM timer routine (which gets executed once per second) takes longer than 1 second (as execution). Probably you have retransmissions or many failure routes to be executed.<br class="">
You can increase the level of parallelism in TM timer via the timer_partition parameter:<br class="">
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id294483">
http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id294483</a><br class="">
Try to set it to 4.<br class="">
<br class="">
Best regards,<br class="">
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 07.06.2016 04:21, Steve Woolley wrote:<br class="">
</div>
<blockquote type="cite" class="">
<div class=""><font class="" face="Courier" size="2">Running opensips on a Raspberry Pi. At some point after starting opensips (sometimes immediately, sometimes after quite a bit of time), the following message fills the log — once a second — continuously.</font></div>
<div class=""><font class="" face="Courier" size="2"><br class="">
</font></div>
<div class=""><font class="" face="Courier" size="2">...</font></div>
<div class=""><font class="" face="Courier" size="2">Jun 7 01:10:41 pi1 /usr/local/sbin/opensips[22396]: WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 7182080 ms (now 8258580 ms), it may overlap..</font></div>
<div class=""><font class="" face="Courier" size="2">Jun 7 01:10:42 pi1 /usr/local/sbin/opensips[22396]: WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 7182080 ms (now 8259570 ms), it may overlap..</font></div>
<div class=""><font class="" face="Courier" size="2">Jun 7 01:10:43 pi1 /usr/local/sbin/opensips[22396]: WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 7182080 ms (now 8260560 ms), it may overlap..</font></div>
<div class=""><font class="" face="Courier" size="2">Jun 7 01:10:44 pi1 /usr/local/sbin/opensips[22396]: WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 7182080 ms (now 8261560 ms), it may overlap..</font></div>
<div class=""><font class="" face="Courier" size="2">Jun 7 01:10:45 pi1 /usr/local/sbin/opensips[22396]: WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 7182080 ms (now 8262550 ms), it may overlap..</font></div>
<div class=""><font class="" face="Courier" size="2">Jun 7 01:10:46 pi1 /usr/local/sbin/opensips[22396]: WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 7182080 ms (now 8263550 ms), it may overlap..</font></div>
<div class=""><font class="" face="Courier" size="2">Jun 7 01:10:47 pi1 /usr/local/sbin/opensips[22396]: WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 7182080 ms (now 8264540 ms), it may overlap..</font></div>
<div class=""><font class="" face="Courier" size="2">Jun 7 01:10:48 pi1 /usr/local/sbin/opensips[22396]: WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 7182080 ms (now 8265530 ms), it may overlap..</font></div>
<div class=""><font class="" face="Courier" size="2">Jun 7 01:10:49 pi1 /usr/local/sbin/opensips[22396]: WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 7182080 ms (now 8266530 ms), it may overlap..</font></div>
<div class=""><font class="" face="Courier" size="2">Jun 7 01:10:50 pi1 /usr/local/sbin/opensips[22396]: WARNING:core:timer_ticker: timer task <tm-timer> already scheduled for 7182080 ms (now 8267520 ms), it may overlap..</font></div>
<div class=""><font class="" face="Courier" size="2"><br class="">
</font></div>
<div class="">
<div class=""><font class="" face="Courier" size="2">root@pi1:~# opensips -V</font></div>
<div class=""><font class="" face="Courier" size="2">version: opensips 2.2.0 (arm6/linux)</font></div>
<div class=""><font class="" face="Courier" size="2">flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_MALLOC, USE_PTHREAD_MUTEX</font></div>
<div class=""><font class="" face="Courier" size="2">MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</font></div>
<div class=""><font class="" face="Courier" size="2">poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</font></div>
<div class=""><font class="" face="Courier" size="2">git revision: 0e1cea7</font></div>
<div class=""><font class="" face="Courier" size="2">main.c compiled on 21:56:59 Jun 3 2016 with gcc 4.9.2</font></div>
</div>
<div class=""><font class="" face="Courier" size="2"><br class="">
</font></div>
<div class=""><font class="" face="Courier" size="2">Anyone experiencing the same?</font></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">--</div>
<div class="">Steve Woolley</div>
<div class=""><a href="mailto:steve.woolley@me.com" class="">steve.woolley@me.com</a></div>
<div class=""><br class="">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="">
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset> <br class="">
<pre class="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</body>
</html>