My MariaDB server is constantly using at least 30-40% CPU even when idle and no queries are being run.
What could possibly cause such a behavior? What should I check?
MariaDB Version: 10.3.22
Thanks!
I suspect you will find something is in fact happening on the server. Enable general log and look what ends up in it.
One possible cause of this is a buggy database connection library on an application that keeps issuing
BEGIN; or similar all over the place a few hundred times per second without doing anything else.
SHOW FULL PROCESSLIST;.