FYI @Pepe LeFrits I noticed a few issues during the match thread today.
Firstly the forum was generally a bit slow to respond, but secondly, there was an actual error which manifested as OMITT pages showing a single line of text "Flarum encountered a boot error, check the log file" or similar, instead of page content—not sure if others saw this.
I took a look at the log file (in public_html/forums/storage/logs), and it seems as if our MySQL / MariaDB connections are being exhausted when there's a bit of extra activity on here. Currently, the max_connections
value is 151, and the max_user_connections
is 50.
These can be upped in the configuration file (I think this is /etc/my.cnf
where at least one of these values is configured), but the onemuejg
user doesn't have privileges to do this I don't think.
Looking around online this seems to be the simplest and most orthodox solution to the problem, although it may increase the DBMS memory usage and cause other issues. Based on what I read, increasing both values to something a bit higher (say 200 for each) could be helpful.
The other recommended approaches are to change the way the forum caches pages (Lightspeed cache, perhaps) or DB session information (Redis caching can perhaps be used for this).