[OpenSIPS-Users] 100% CPU usage
Ovidiu Sas
osas at voipembedded.com
Tue Dec 17 23:54:55 CET 2013
That process is stuck in a lock.
Most likely there is another opensips process that is stuck in a similar lock.
I pushed a new opensipsctl 'trap' command in trunk.
You can backport the commit into your existing repo and use that
command to gather all the required info in one single command and then
post the file or the content of the file.
You will need to run:
opensipsctl trap
Here's the link to the commit:
https://github.com/OpenSIPS/opensips/commit/9d25d0c7cf4391ca85bb25a23e2e933e6878a48a
Regards,
Ovidiu Sas
On Tue, Dec 17, 2013 at 5:01 PM, Dragomir Haralambiev
<goup2010 at gmail.com> wrote:
> Finally I managed to capture a gdb output from opensips process stuck at
> 100% CPU:
>
> http://pastebin.com/Fvz9Whi1
>
>
> 2013/12/16 Răzvan Crainea <razvan at opensips.org>
>>
>> Hello!
>>
>> Can you attach with gdb to one of the processes that are using 100% CPU
>> and post the backtrace on pastebin? You should do something like:
>>
>> gdb /path/to/opensips pid
>> bt full
>>
>> And upload the entire output on pastebin.
>>
>> Best regards,
>>
>> Razvan Crainea
>> OpenSIPS Core Developer
>> http://www.opensips-solutions.com
>>
>>
>> On 12/16/2013 12:08 PM, pavel at eremina.net wrote:
>>>
>>> I had same problem when my Debian can't resolve one of gateways.
>>>
>>>
>>> 2013/12/16 Dragomir Haralambiev <goup2010 at gmail.com
>>> <mailto:goup2010 at gmail.com>>
>>>
>>>
>>> i have not Registrant module.
>>>
>>> On Dec 16, 2013 11:53 AM, "pavel at eremina.net
>>> <mailto:pavel at eremina.net>" <eremina.net at gmail.com
>>>
>>> <mailto:eremina.net at gmail.com>> wrote:
>>>
>>> Hi, Do you use Registrant module?
>>> anyway check yours DNS, can you resolve your gateways ?
>>>
>>>
>>> 2013/12/16 Dragomir Haralambiev <goup2010 at gmail.com
>>> <mailto:goup2010 at gmail.com>>
>>>
>>>
>>> Hello,
>>>
>>> Opensip working 10-15 min.
>>> I see follow statistic:
>>> PID USER PR NI VIRT RES SHR S %CPU %MEM
>>> TIME+ COMMAND
>>> 23168 opensips 20 0 201m 11m 8948 R 99.7 0.1 1:49.59
>>> opensips
>>> 23174 opensips 20 0 201m 11m 8876 R 98.7 0.1 1:52.54
>>> opensips
>>> 23177 opensips 20 0 201m 12m 9660 R 96.0 0.1 1:07.15
>>> opensips
>>> 23172 opensips 20 0 201m 12m 9816 R 91.0 0.1 1:05.36
>>> opensips
>>> 23182 opensips 20 0 295m 11m 8756 R 91.0 0.1 1:44.61
>>> opensips
>>> 23169 opensips 20 0 201m 12m 9.9m R 90.7 0.1 0:57.99
>>> opensips
>>> 23170 opensips 20 0 200m 11m 8924 R 84.1 0.1 1:53.83
>>> opensips
>>>
>>> Why Opensisp use 100 % from CPU?
>>>
>>> Opensips ver. 1.8
>>>
>>> Best regards,
>>>
>>> PlayMen
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
VoIP Embedded, Inc.
http://www.voipembedded.com
More information about the Users
mailing list