Vrigin install Debian 12 and then FreePBX 17 with the install script in a Proxmox VM. Two phones connected, can talk to each other. No SIP accounts yet. Nothing else installed: One CPU is maxed out constantly at 100% and >60% with two CPU’s assigned, on a 12 core i7-12700T.
What could possibly be wrong?
BTW, the official new iso install didn’t work. Had to install first Debian 12 and than use the 17 install script.
Hi @prxmx
Try to login your FreePBX Linux CLI and get more details which service hitting or loading CPU?
you can install and use htop btop top tools.
or
Bellow command will give you some details.
ps -eo pid,ppid,cmd,comm,%mem,%cpu --sort=-%cpu | head -10
1 vCPU is probably not going to cut it. As a general rule we allocate 8 vCPUs to each FreePBX17 instance and 8GB of ram, which works well up to about 50 users.
I had the same issue on a new installed FreePBX 17 some weeks ago. It was the node process using the file /var/www/html/admin/modules/sangomartapi/node/kickstart.js.
Disabling the module sangomartapi fixed the issue.
Two virtual cpus are plenty for a smaller PBX system, at least using KVM running on Ubuntu. I have 4 wired and 3 wireless phones and sip trunk.
btw, never use more virtual cpus than real cpus that exist in the system, and leave one or two actual cpus free for the system’s OS to do its work.
In other words, if a system has 8 actual cpus/threads, only use up to 6 for a single VM if needed, and leave 2 free for the host.
Thanks for your sharing your experience. I believe it also has to do with the processing power of the chip. In my case, a handful of phones, I gave it one core and it doesn’t use more than 4% of CPU usage.