<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thanks a lot, David! You saved me from many hours of frustration :)<br><div>I looked at changelogs of 1.7.2</div><div><pre style="word-wrap: break-word; white-space: pre-wrap;">2012-01-19 11:47:49 Saúl Ibarra Corretgé <saul at ag-projects dot com>
        * [8674] :
        Backport from trunk r8669:
        Fixed nat_traversal module to work properly if dialog was created before nat_keepalive was called</pre><pre style="word-wrap: break-word; white-space: pre-wrap;"><span style="font-family: Calibri, sans-serif; white-space: normal;">I will update my opensips to 1.7.2 and will share the result. </span></pre><pre style="word-wrap: break-word; white-space: pre-wrap;"><span style="font-family: Calibri, sans-serif; white-space: normal;">- Yuriy</span></pre><div><hr id="stopSpelling">Date: Fri, 7 Jun 2013 16:35:41 -0700<br>From: dsanders@pinger.com<br>To: users@lists.opensips.org<br>Subject: Re: [OpenSIPS-Users] CPU leak with opensips 1.7.1-notls<br><br>
<div class="ecxmoz-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="ecxmoz-txt-link-freetext" href="https://sourceforge.net/p/opensips/patches/200/" target="_blank">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">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
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="ecxstopSpelling">Date: Thu, 6 Jun 2013 18:48:03 +0300<br>
From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
CC: <a class="ecxmoz-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 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 class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a 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>
<br>_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users</div></div>                                            </div></body>
</html>