This is the metadata lock. Before you waste your money, try raising wait_timeout and interactive_timeout variables, it's possible they are frequently timing out especially in multisite databases, thus causing the crashes. We can also create a cron task to kill old idle non-active connections
Proposal:
This is the metadata lock. Before you waste your money, try raising wait_timeout and interactive_timeout variables, it's possible they are frequently timing out especially in multisite databases, thus causing the crashes.
We can also create a cron task to kill old idle non-active connections that sometimes keep the lock closed. The exact error is "Waiting for table metadata lock".
If you still experience issues after raising these mariadb settings, feel free to contact me here or on chat and I will be more than happy to debug and get it fixed up.