<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Razvan,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I didn’t see any process that is using more than 80% of a core. OpenSIPS is simply being idle and these warnings come periodically.
<o:p></o:p></span></p>
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Like once in couple of hours. I didn’t track the exact time line, how frequent am getting this warnings.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Ahmed,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Do you notice these warnings only when you start OpenSIPS or could see it in regular intervals?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Regards,<br>
Agalya<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"> Users [mailto:users-bounces@lists.opensips.org]
<b>On Behalf Of </b>Razvan Crainea<br>
<b>Sent:</b> Thursday, January 19, 2017 3:33 AM<br>
<b>To:</b> users@lists.opensips.org<br>
<b>Subject:</b> Re: [OpenSIPS-Users] OpenSIPs 2.2.2 warnings during start service<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt">When starting opensips, is there any opensips process that is using more than 80% of a core? If so, can you pinpoint the PID in the opensipsctl ps command?</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>Best regards,</tt><br>
<br>
</span><o:p></o:p></p>
<pre>Răzvan Crainea<o:p></o:p></pre>
<pre>OpenSIPS Solutions<o:p></o:p></pre>
<pre><a href="http://www.opensips-solutions.com">www.opensips-solutions.com</a><o:p></o:p></pre>
<div>
<p class="MsoNormal">On 01/18/2017 11:55 PM, Ramachandran, Agalya (Contractor) wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Same with my case too.
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Regards,<br>
Agalya</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Users [</span><a href="mailto:users-bounces@lists.opensips.org"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">mailto:users-bounces@lists.opensips.org</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">]
<b>On Behalf Of </b>Ahmed Munir<br>
<b>Sent:</b> Wednesday, January 18, 2017 1:31 PM<br>
<b>To:</b> OpenSIPs Users </span><a href="mailto:users@lists.opensips.org"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><users@lists.opensips.org></span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><br>
<b>Subject:</b> [OpenSIPS-Users] OpenSIPs 2.2.2 warnings during start service</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I'm currently seeing the warnings when I start opensips service;<br>
<br>
Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]: WARNING:core:handle_timer_job: timer job <blcore-expire> has a 1500000 us delay in execution<br>
Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]: WARNING:core:handle_timer_job: timer job <tm-timer> has a 1500000 us delay in execution<br>
Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]: WARNING:core:handle_timer_job: timer job <dlg-timer> has a 1500000 us delay in execution<br>
Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]: WARNING:core:handle_timer_job: utimer job <tm-utimer> has a 2290000 us delay in execution<br>
Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]: <a href="INFO:core:do_action">
INFO:core:do_action</a>: max while loops are encountered<br>
Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3088]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for 190 ms (now 2470 ms), it may over<br>
lap..<br>
<br>
<br>
<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I've tried to update the source code for timer.c (line#: 190) ref:
<a href="https://github.com/OpenSIPS/opensips/commit/fd8f6ec442b4365da9d274af6939954246ece865?diff=split">
https://github.com/OpenSIPS/opensips/commit/fd8f6ec442b4365da9d274af6939954246ece865?diff=split</a>, but didn't work at all.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Currently running 8 child processors, see below;<br>
<br>
[root@qorblpsisprxyd1 ]# opensips  -V<br>
version: opensips 2.2.2 (x86_64/linux)<br>
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>
main.c compiled on 12:39:45 Jan 18 2017 with gcc 4.4.7<br>
<br>
<br>
[root@qorblpsisprxyd1 ]# opensipsctl fifo ps<br>
Process::  ID=0 PID=3083 Type=attendant<br>
Process::  ID=1 PID=3085 Type=MI FIFO<br>
Process::  ID=2 PID=3086 Type=time_keeper<br>
Process::  ID=3 PID=3088 Type=timer<br>
Process::  ID=4 PID=3089 Type=SIP receiver udp:<a href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
Process::  ID=5 PID=3091 Type=SIP receiver udp:<a href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
Process::  ID=6 PID=3092 Type=SIP receiver udp:<a href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
Process::  ID=7 PID=3094 Type=SIP receiver udp:<a href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
Process::  ID=8 PID=3096 Type=SIP receiver udp:<a href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
Process::  ID=9 PID=3098 Type=SIP receiver udp:<a href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
Process::  ID=10 PID=3100 Type=SIP receiver udp:<a href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
Process::  ID=11 PID=3102 Type=SIP receiver udp:<a href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
Process::  ID=12 PID=3104 Type=Timer handler<o:p></o:p></p>
</div>
<p class="MsoNormal">I would like to know what changes required to fix this change? Please advise.
<br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><br>
-- <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Regards,<br>
<br>
Ahmed Munir Chohan<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Users mailing list<o:p></o:p></pre>
<pre><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre>
<pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>