I am running a VM with 2x3 cores, 8GB of RAM, and 2GB swap; non-docker cms v1.8.11. I have about 40 players in my network, (3 windows, the rest Android).
Setup of my server was done in accordance with this guide: Installation guide of XIBO 1.8 on CentOS 7. I have defaults running server side, though I have made adjustments in the web side of the CMS.
My server will run quite smoothly for about 18-24 hours, then the web console will get locked up due to a DB error. From what I can tell MariaDB freezes up and can’t run because it is out of memory. Rebooting the server corrects the issue. System monitor shows RAM fully utilized as well as my swap file. Looking at my system monitor, it shows a number of PHP processes all running /xibo/bin/xtr.php.
After bootup, the server has 4-6 of these running all at 20MB, give or take. Not an issue, to be expected. My problem comes when the server opens more and more of these processes. When the server runs out of memory, I can see well over a hundred of these tasks all running the same /xibo/bin/xtr.php.
I assume my issue is due to all of these PHP processes, though I imagine MariaDB is eating all the rest of the RAM, though it doesn’t show in resource monitor.
It is becoming quite annoying to deal with this. Anyone else having this issue? Admittedly I am not a Linux superuser by any means. Thanks for your patience and help.