Xmr.phar cpu usages issue

CPU usage is constantly increasing.

We are running 100 WebOS clients.

The XMR service is using 47% cpu, and it continues to increase.

I restarted the service today, and after using it for about 3 hours, it is in use over 50%.

[root@Web_Server bin]# ps -C php -o user,pid,pcpu,pmem,vsize,size,etime,comm
USER PID %CPU %MEM VSZ SIZE ELAPSED COMMAND
apache 209367 50.1 0.0 384636 78316 02:29:23 php
[root@Web_Server bin]# ps -ef | grep 209367
apache 209367 1 51 11:00 ? 01:18:23 /usr/bin/php /var/www/CMS/vendor/xibosignage/xibo-xmr/bin/xmr.phar
root 213476 211993 0 13:33 pts/0 00:00:00 grep --color=auto 209367

Server Environment Information

apache version 2.4.37
PHP version 7.2.34

config setting
{
“listenOn”: “tcp://127.0.0.1:50001”,
“pubOn”: [“tcp://10.21.1.80:9505”],
“debug”: false
}

Please help.

XMR would only use high CPU if it was passing alot of messages.

Enable debugging and see what volume of messages are being passed through.

Please also ensure you are upgraded to the latest webOS release as there were issues with XMR subscriptions fixed in that version.