<div dir="ltr"><div>Thanks Ovidiu,</div><div><br></div><div>indeed I have multiple processes stuck at 100% when the issue occurs. </div><div><br></div><div>I am not sure how to backport the patch you mentioned. git pull doesn't give me new files (1.8 LTS) </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/18 Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That process is stuck in a lock.<br>
Most likely there is another opensips process that is stuck in a similar lock.<br>
I pushed a new opensipsctl 'trap' command in trunk.<br>
You can backport the commit into your existing repo and use that<br>
command to gather all the required info in one single command and then<br>
post the file or the content of the file.<br>
You will need to run:<br>
opensipsctl trap<br>
<br>
Here's the link to the commit:<br>
<a href="https://github.com/OpenSIPS/opensips/commit/9d25d0c7cf4391ca85bb25a23e2e933e6878a48a" target="_blank">https://github.com/OpenSIPS/opensips/commit/9d25d0c7cf4391ca85bb25a23e2e933e6878a48a</a><br>
<br>
Regards,<br>
Ovidiu Sas<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Dec 17, 2013 at 5:01 PM, Dragomir Haralambiev<br>
<<a href="mailto:goup2010@gmail.com">goup2010@gmail.com</a>> wrote:<br>
> Finally I managed to capture a gdb output from opensips process stuck at<br>
> 100% CPU:<br>
><br>
> <a href="http://pastebin.com/Fvz9Whi1" target="_blank">http://pastebin.com/Fvz9Whi1</a><br>
><br>
><br>
> 2013/12/16 Răzvan Crainea <<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>><br>
>><br>
>> Hello!<br>
>><br>
>> Can you attach with gdb to one of the processes that are using 100% CPU<br>
>> and post the backtrace on pastebin? You should do something like:<br>
>><br>
>> gdb /path/to/opensips pid<br>
>> bt full<br>
>><br>
>> And upload the entire output on pastebin.<br>
>><br>
>> Best regards,<br>
>><br>
>> Razvan Crainea<br>
>> OpenSIPS Core Developer<br>
>> <a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br>
>><br>
>><br>
>> On 12/16/2013 12:08 PM, <a href="mailto:pavel@eremina.net">pavel@eremina.net</a> wrote:<br>
>>><br>
>>> I had same problem when my Debian can't resolve one of gateways.<br>
>>><br>
>>><br>
>>> 2013/12/16 Dragomir Haralambiev <<a href="mailto:goup2010@gmail.com">goup2010@gmail.com</a><br>
>>> <mailto:<a href="mailto:goup2010@gmail.com">goup2010@gmail.com</a>>><br>
>>><br>
>>><br>
>>> Â Â i have not Registrant module.<br>
>>><br>
>>> Â Â On Dec 16, 2013 11:53 AM, "<a href="mailto:pavel@eremina.net">pavel@eremina.net</a><br>
>>> Â Â <mailto:<a href="mailto:pavel@eremina.net">pavel@eremina.net</a>>" <<a href="mailto:eremina.net@gmail.com">eremina.net@gmail.com</a><br>
>>><br>
>>> Â Â <mailto:<a href="mailto:eremina.net@gmail.com">eremina.net@gmail.com</a>>> wrote:<br>
>>><br>
>>> Â Â Â Â Hi, Do you use Registrant module?<br>
>>> Â Â Â Â anyway check yours DNS, can you resolve your gateways ?<br>
>>><br>
>>><br>
>>> Â Â Â Â 2013/12/16 Dragomir Haralambiev <<a href="mailto:goup2010@gmail.com">goup2010@gmail.com</a><br>
>>> Â Â Â Â <mailto:<a href="mailto:goup2010@gmail.com">goup2010@gmail.com</a>>><br>
>>><br>
>>><br>
>>> Â Â Â Â Â Â Hello,<br>
>>><br>
>>> Â Â Â Â Â Â Opensip working 10-15 min.<br>
>>> Â Â Â Â Â Â I see follow statistic:<br>
>>> Â Â Â Â Â Â Â Â PID USER Â Â Â PR Â NI Â VIRT Â RES Â SHR S %CPU %MEM<br>
>>> Â Â Â Â Â Â TIME+ Â COMMAND<br>
>>>       23168 opensips  20  0  201m  11m 8948 R 99.7  0.1  1:49.59<br>
>>> Â Â Â Â Â Â opensips<br>
>>>       23174 opensips  20  0  201m  11m 8876 R 98.7  0.1  1:52.54<br>
>>> Â Â Â Â Â Â opensips<br>
>>>       23177 opensips  20  0  201m  12m 9660 R 96.0  0.1  1:07.15<br>
>>> Â Â Â Â Â Â opensips<br>
>>>       23172 opensips  20  0  201m  12m 9816 R 91.0  0.1  1:05.36<br>
>>> Â Â Â Â Â Â opensips<br>
>>>       23182 opensips  20  0  295m  11m 8756 R 91.0  0.1  1:44.61<br>
>>> Â Â Â Â Â Â opensips<br>
>>>       23169 opensips  20  0  201m  12m 9.9m R 90.7  0.1  0:57.99<br>
>>> Â Â Â Â Â Â opensips<br>
>>>       23170 opensips  20  0  200m  11m 8924 R 84.1  0.1  1:53.83<br>
>>> Â Â Â Â Â Â opensips<br>
>>><br>
>>> Â Â Â Â Â Â Why Opensisp use 100 % from CPU?<br>
>>><br>
>>> Â Â Â Â Â Â Opensips ver. 1.8<br>
>>><br>
>>> Â Â Â Â Â Â Best regards,<br>
>>><br>
>>> Â Â Â Â Â Â PlayMen<br>
>>><br>
>>> Â Â Â Â Â Â _______________________________________________<br>
>>> Â Â Â Â Â Â Users mailing list<br>
>>> Â Â Â Â Â Â <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
>>><br>
>>> Â Â Â Â Â Â <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>>><br>
>>><br>
>>><br>
>>> Â Â Â Â _______________________________________________<br>
>>> Â Â Â Â Users mailing list<br>
>>> Â Â Â Â <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
>>><br>
>>> Â Â Â Â <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>>><br>
>>><br>
>>> Â Â _______________________________________________<br>
>>> Â Â Users mailing list<br>
>>> Â Â <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
>>><br>
>>> Â Â <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Users mailing list<br>
>>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>