High CPU! FreePBX17 Debian Install

I have clear install from github

but I have problem …
node /var/www/html/admin/modules/sangomartapi/node/kickstart.js using 100% of CPU

when I kill a process, another pm2 starts and using 100% of CPU.
node /var/www/html/admin/modules/pm2/node/node_modules/pm2/lib/ProcessContainerFork.js using 100% of CPU

It cannot be killed, it starts repeatedly.
What is this, and how can I repair it?

FreePBX: 17.0.15.21
Current Asterisk Version: 21.0.2
(github debian12)

fwconsole pm2 --log sangomartapi

This may show you what is going on with the process.

You didn’t specify how much processing power your installation has. Maybe the problem is that the installation doesn’t have enough processing power in the first place, which would be the case if this was a VM and you are trying to run it on the slowest possible tier.

procesor power is ok,
vmware 4x CPU, 4GB ram, 20GB SSD, it is clear instalation no extensions, no operation

root@freepbx:/# fwconsole pm2 --log sangomartapi
OUT > ==> /var/log/asterisk/sangomartapi_err.log <==

==> /var/log/asterisk/sangomartapi_out.log <==
2024-05-13 15:35 +02:00:
2024-05-13 15:36 +02:00:
2024-05-13 15:36 +02:00: Database Connector Config:
2024-05-13 15:36 +02:00: adapter: mysql
2024-05-13 15:36 +02:00: host: localhost
2024-05-13 15:36 +02:00: port: 3306
2024-05-13 15:36 +02:00: database: asterisk
2024-05-13 15:36 +02:00: user: freepbxuser
2024-05-13 15:36 +02:00: password: --hidden–
2024-05-13 15:36 +02:00:

hi all
i can confirm that i have the same problem.
htop shows 5x the same process kickstart.js,
and one of them is using over 100% CPU.
The other 4 process are using 0-4% CPU.

Fresh install of freepbx17 on a new debian 12.5.

Any idea how we can find out what the kickstart.js is doing?

I had the same 100% CPU usage coming from the same kickstart.js file. I admit that I just uninstalled sangomartapi module after some research that led me nowhere. I couldn’t find why the CPU usage was so high, so I resorted to uninstalling the module.

yes i deactivated it too:

fwconsole ma disable sangomartapi
reboot

now there is no kickstart.js process and normal cpu usage

You don’t need to restart FreeBPX. After removed you can delete sangomartapi from pm2 list.

fwconsole ma remove sangomartapi

fwconsole pm2 --list
sangomartapi | 0 | stopped | 0 | 0 | 0% | 0.00B |

fwconsole pm2 --delete sangomartapi

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.