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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20201229/a25439d5/attachment.html>
On Tuesday 29 December 2020 at 17:12:45, Dovid Bender wrote:> 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 coreI 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.