<html>
  <head>
    <meta content="text/html; charset=windows-1256"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Yuriy,<br>
      <br>
      We had this same issue with opensips 1.7.1-notls. It is fixed in
      newer versions of OpenSIPS. You can find a patch we submitted for
      the issue here: <a class="moz-txt-link-freetext" href="https://sourceforge.net/p/opensips/patches/200/">https://sourceforge.net/p/opensips/patches/200/</a><br>
      <br>
      The patch fixed the issue for us, but was not accepted to the
      OpenSIPS code base as a bigger refactoring was planned which also
      fixed the issue.<br>
      <br>
      If you need to stay on 1.7.1, look into applying the above patch.
      Otherwise I would suggest upgrading to a newer version of OpenSIPS
      and the issue will resolve itself.<br>
      <br>
      @Bogdan-Andrei, the term 'CPU leak' is somewhat fitting here as it
      really does almost leak CPU cycles over time. The issue is
      essentially a linked list which grows indefinitely, taking longer
      and longer to walk.<br>
      <br>
      - David<br>
      <br>
      <br>
      On 6/6/13 10:17 AM, Yuriy Nasida wrote:<br>
    </div>
    <blockquote cite="mid:DUB122-W379645DE390917C574B950D5980@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">
        <div>Hello <span style="font-size: 12pt;">Bogdan-Andrei Iancu</span></div>
        <div><br>
        </div>
        <div>
          <div>Yes, I also see such behaviour first time.  I mean that
            CPU usage of opensips process gradually increases (from 1 to
            20% in 1-3 days). There  is no peaks. </div>
          <div>Looks like It is not connected with amount of calls.</div>
        </div>
        <div><span style="font-size: 12pt;">I do the restarting of
            opensips process and the CPU usage looks good after this.</span></div>
        <div>Not sure that it can be... </div>
        <div><br>
        </div>
        <div>Thanks.</div>
        <div><br>
          <div>
            <hr id="stopSpelling">Date: Thu, 6 Jun 2013 18:48:03 +0300<br>
            From: <a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
            To: <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
            CC: <a class="moz-txt-link-abbreviated" href="mailto:nasida@live.ru">nasida@live.ru</a><br>
            Subject: Re: [OpenSIPS-Users] CPU leak with opensips
            1.7.1-notlsū<br>
            <br>
            <tt>Hello Yuriy,<br>
              <br>
              What is a CPU leak ??? I know only memory leak or CPU
              spikes ....<br>
              <br>
              Regards,<br>
            </tt>
            <pre class="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
            <br>
            On 06/03/2013 07:47 PM, Yuriy Nasida wrote:
            <blockquote
              cite="mid:DUB122-W1550D8F80626DFFA7C7AE3D59D0@phx.gbl">
              <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
              <div dir="ltr">
                <div>Hello,</div>
                <div><br>
                </div>
                <div>What is the best way to understand the reason of
                  CPU leak with my opensips installation (opensips
                  1.7.1-notls) ?</div>
                <div>CPU leak grows even with small amount of calls. I
                  increased debug level but still don't have any clue.</div>
                <div><br>
                </div>
                <div>Please advice.</div>
                <div><br>
                </div>
                <div>Thanks.</div>
              </div>
              <pre><fieldset class="ecxmimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>