Chasing Down CPU Issue

Home » Asterisk Users » Chasing Down CPU Issue
Asterisk Users 2 Comments

All,

As I have written in the past I am chasing down a CPU issue with Asterisk.I
took a box running 16.13.0 and unloaded all possible modules. The only ones I was not able to unload were:
pbx_spool.so res_adsi.so res_odbc_transaction.so res_sorcery_memory_cache.so res_speech.so res_stasis_device_state.so res_stasis_recording.so

I then watched the PID of asterisk for CPU usage and every so often (3-5
seconds) the CPU usage would go from 0.0 to 5.X. I know this is not a lot as it’s just 5% of one core but I am wondering what would Asterisk be doing every X seconds that would cause a small jump in usage. I did a tcpdump on the box and the only traffic other then my ssh session that I see is ARP
and DHCP traffic. Amy ideas how the core of Asterisk works and why it would randomly use a bit of CPU?

TIA.

Dovid

2 thoughts on - Chasing Down CPU Issue

  • I don’t get that.

    5.X is not 5% of one core – it’s 100% of five cores.

    I’d call that significant.

    Antony.


    90% of networking problems are routing problems.
    9 of the remaining 10% are routing problems in the other direction. The remaining 1% might be something else, but check the routing anyway.

    Please reply to the list;
    please *don’t* CC me.

  • Anthony,

    I am looking at the CPU usae of the PID. If it was the percent of the entire box then it would never reach over 100. We routinely see Asterisk going over 200 which is normal since we do have 32 cores on the box.