<div dir="ltr"><pre>All,<br><br></pre><pre>I upgraded to asterisk 13.10. I have minimal load on the box. 20-30 calls a day.<br><br></pre><pre>Right now, there are no calls on the box at all.<br><br></pre><pre>top shows me this:<br><br></pre><pre>PR 20<br></pre><pre>NI 0<br></pre><pre>VIRT 1570540<br><br></pre><pre>RES 84620<br><br></pre><pre>SHR 26296<br><br></pre><pre>S S<br><br></pre><pre>%CPU 99.7<br><br></pre><pre>%MEM 8.4<br><br></pre><pre>TIME+ 3468:39<br><br></pre><pre>COMMAND asterisk<br><br></pre><pre>When I run this command <br>while true; do top -Hbc -p `pgrep asterisk` -n 1 && asterisk -rx "core show
threads"; sleep 1; done<br><br>I get this<br><br>PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND<br>29079 root      20   0 1570540  84620  26296 R 37.5  8.4   1178:31 asterisk<br>29010 root      20   0 1570540  84620  26296 R 31.2  8.4   1197:07 asterisk<br>29047 root      20   0 1570540  84620  26296 R 31.2  8.4   1186:48 asterisk<br></pre><pre>Any ideas??<br></pre><pre><br>--------------------<br></pre><pre>Previous message<br>--------------------<br></pre><pre><br>Hi all,

I was using 13.5 but upgraded today to 13.9 (13.10 came out a few hours
after I upgraded).

On both 13.5 and 13.9 asterisk seems to use 100% of the CPU. This usually
happens a few hours after starting asterisk. A restart of asterisk gets the
CPU back down, but only for a little while.

There asterisk box has no call traffic flowing through it, just 15 or so
registrations.

I'm sure this is not best practise but for now I am using chan_sip and
pjsip at the same time. My pjsip endpoints are using TLS.

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

Kind regards,

Chirag</pre></div>