[OpenSIPS-Users] CPU leak with opensips 1.7.1-notls‏

David Sanders dsanders at pinger.com
Sat Jun 8 01:35:41 CEST 2013


Hi Yuriy,

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: https://sourceforge.net/p/opensips/patches/200/

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.

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.

@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.

- David


On 6/6/13 10:17 AM, Yuriy Nasida wrote:
> Hello Bogdan-Andrei Iancu
>
> 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.
> Looks like It is not connected with amount of calls.
> I do the restarting of opensips process and the CPU usage looks good 
> after this.
> Not sure that it can be...
>
> Thanks.
>
> ------------------------------------------------------------------------
> Date: Thu, 6 Jun 2013 18:48:03 +0300
> From: bogdan at opensips.org
> To: users at lists.opensips.org
> CC: nasida at live.ru
> Subject: Re: [OpenSIPS-Users] CPU leak with opensips 1.7.1-notls‏
>
> Hello Yuriy,
>
> What is a CPU leak ??? I know only memory leak or CPU spikes ....
>
> Regards,
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 06/03/2013 07:47 PM, Yuriy Nasida wrote:
>
>     Hello,
>
>     What is the best way to understand the reason of CPU leak with my
>     opensips installation (opensips 1.7.1-notls) ?
>     CPU leak grows even with small amount of calls. I increased debug
>     level but still don't have any clue.
>
>     Please advice.
>
>     Thanks.
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130607/ed1d1482/attachment.htm>


More information about the Users mailing list