[asterisk-users] Asterisk 13 High CPU usage

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Jul 24 07:39:08 CDT 2016


On Fri, Jul 22, 2016 at 12:02:43AM +0100, Chirag Desai wrote:

> I am not sure where to start looking in order to debug the CPU usage by
> asterisk and would very much appreciate some guidance.

If you run 'top', the basic information would be to show per-CPU
information (press '1'). Another thing to look at: press 'H' to get
per-thread entries. Do you have many many threads each taking a small
part of a core, or a few threads taking lots of CPU time?

I believe that the PID (process/thread ID) you see in top is also the
second item in each line in the output of 'core show threads'. So this
could give you some clues regarding the CPU hogs you see in top.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



More information about the asterisk-users mailing list