High CPU usage on Asterisk 16

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

High CPU usage on Asterisk 16

Postby RBecker » Tue Mar 26, 2024 9:18 pm

Hey all,
Just set up a new cluster a couple weeks ago and have been having issues with CPU usage/load once the system gets busy. I have three agent servers, scratch install on AlmaLinux 8.9, with Asterisk 16.30.1-vici, chan_sip, MeetMe, and on SVN 3805. They are VMs with 8GB RAM and 16 vCPU. Campaigns are dialing on Ratio with dial levels between 5-8, AMD is on, and all agents are using ViciPhone. Once one of the servers has about 10 agents and 90-110 channels on it, Asterisk's CPU usage tends to spike up repeatedly and stay high, sometimes causing load of 10-20 or more for brief periods. Once a few agents sign out and channel counts drop back down, the system performs fine again. This high load is causing choppy audio and some delays on 3-way/transfer calls. Wondering if there's anything specific I need to be doing for Asterisk 16 that might help alleviate this. Interestingly, I noticed that the install.pl script does not load a modules.conf for Asterisk. I copied one over from one of my ViciBox systems with Ast 13, and that seemed to calm load down significantly with less agents signed on.

As a point of reference, I have a much larger cluster running a mix of ViciBox 9 and 10, all on Asterisk 13, and I'm not seeing the same issues under similar agent counts.
Managed & Dedicated ViciDial Hosting | VoIP Trunking and Termination | https://www.dial-fusion.com/
Main Cluster: 21 Agent Servers | Dedicated DB and Separate Reports Server | 2 Web Servers | HAProxy Load Balancing | Dedicated Archive Server
RBecker
 
Posts: 43
Joined: Mon Aug 30, 2021 3:05 pm

Re: High CPU usage on Asterisk 16

Postby carpenox » Tue Apr 02, 2024 7:44 am

Its the VM, stay away from them altogether
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: High CPU usage on Asterisk 16

Postby williamconley » Fri Sep 27, 2024 9:43 pm

you know, you can downgrade asterisk. or you could install a fresh server in the same cluster with an older vicibox to get the lower asterisk without the learning curve. any version of Vicibox (old or new) can install the latest viciDIAL to maintain cluster compatibility for testing. if you think it's asterisk 16 vs 13, it's worth a shot.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20252
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 64 guests