[asterisk-users] Asterisk-cpu utilization > 60 %

Pezhman Lali lopl at lopl.net
Mon May 16 07:49:20 CDT 2011


check your running process, if you have more than one asterisk in your
"top" re install your asterisk.

On Sun, May 15, 2011 at 7:07 PM, Satish Patel <satish_lx at hotmail.com> wrote:

>
> Check this out
>
>
> http://www.moythreads.com/wordpress/2009/05/06/why-does-asterisk-consume-100-cpu/
>
>
> --
> Sent from my iPhone
>
>
> On May 15, 2011, at 4:08 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>
> wrote:
>
>  On Sun, May 15, 2011 at 08:24:08AM +0200, Leandro Dardini wrote:
>>
>>> 2011/5/15 RSCL Mumbai <rscl.mumbai at gmail.com>
>>>
>>>
>>>> On Sat, May 14, 2011 at 11:43 AM, Leandro Dardini <ldardini at gmail.com
>>>> >wrote:
>>>>
>>>>  Check if someone is brute forcing your asterisk accounts. It used to
>>>>> happen to me before I install fail2ban. You can easily check the "full"
>>>>> log
>>>>> of asterisk or with just a "tcpdump -i any -n port 5060 or port 4569".
>>>>>
>>>>> Thx for the tcpdump command.
>>>>>
>>>> Checked, all looks good.
>>>> Packets coming from trusted domains only.
>>>>
>>>> What should be the next step ?
>>>>
>>>> Thx
>>>> Sans
>>>>
>>>>
>>>>  Have you tried to restart asterisk?
>>>
>>> As last chance, install strace and check what is asterisk doing. Get the
>>> pid
>>> (PID) of the running asterisk and run:
>>>
>>> strace -p PID -f -F &> /tmp/strace.log
>>>
>>
>> Not exactly. Asterisk is multi-threaded. strae traces a specific thread.
>>
>> To see the most active thread, press 'H' (shift-h) in top. Wait for the
>> display to refresh at least twice (on the first time it won't make
>> sense) and now check to see which is the top thread.
>>
>> --
>>              Tzafrir Cohen
>> icq#16849755              jabber:tzafrir.cohen at xorcom.com
>> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
>> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>              http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>  http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>              http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>  http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Pezhman Lali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110516/15477689/attachment.htm>


More information about the asterisk-users mailing list