@FlareImp Thanks, that log helps. It also explains why restarting MariaDB did not help. Within 90 seconds of the restart, MariaDB had taken about 1,650 new connections (the connection number went from 52 to 1698). So the slots fill again almost at once. Something keeps sending connections, or keeps connections stuck, as soon as MariaDB is back.
The installer restarts more than MariaDB: it also restarts Apache, PHP-FPM, and the FOG services. One of those is most likely what brings the server back. Next time the page goes empty, please do this instead of the installer:
Run the commands from my last reply first, and post the output. The two information_schema.processlist queries are the important ones. They show who holds the connections and which queries are stuck. Restart only the FOG services, then wait two minutes and check the web UI: sudo systemctl restart 'FOG*.service' If the page is still empty, restart only the web side, then wait two minutes and check again: sudo systemctl restart apache2 'php*-fpm.service' Tell us which step brought it back.You also said this was working before. Do you know about when it started? Did anything change around then, such as a FOG update, the new FOG agent being rolled out to more machines, or new storage nodes? This shows the dates of package updates on the server:
grep -E '^Start-Date|^Commandline' /var/log/apt/history.log | tail -n 40Last, the addresses in your log (10.220.9.50 through 10.229.9.50, and 10.221.9.52) connect straight to MariaDB. Are those your FOG storage nodes? How many storage nodes do you have, and what FOG version are they on?