Recently, a Moodle installation that I had set up on a virtual server with 24GB of RAM crashed for 10 minutes when it received a little over 50 users, even though the Enhance dashboard indicated that memory usage had not exceeded 35% (although the load monitor was approaching 10).
A few days ago, I made several changes to the my.cnf file of MariaDB, so now I am thinking of making changes to the web server configuration and php.ini, which is why I would like to know how to do it.