I recently installed a new server and migrated all sites (and databases) from another server having the same exact (100% identical) hardware configuration. We're talking about a Xeon E3-1270v6 (3.8ghz - 4.2ghz) so I'm not used to seeing such high loads, but yet, from the first hour post migration, I'm seeing this process sticking at the top of the process manager, consuming always around 27%
/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid
Average loads are often reaching 1.0 which was quite unusual for me to see on the previous server hosting exactly the same databases on the same hardware. Something is going on, what has this process been doing for 2 days in a row now? Is this normal that it's constantly eating 27% of the CPU non stop? (i'll answer my own question: no it's not, now what can I do about this?)
SHOW FULL PROCESSLIST; shows NOTHING going on, if I refresh this command every second, sometimes I see a SELECT from one of the sites on the machine, but basically it's sleeping 99% of the time. No query hanging, no optimization or index creation going on, at least not more than a fraction of a second from time to time, like normal.
swapon --summary : 0KB used out of 4GB
Contents of /var/log/mysql-slow.log ? Empty.
Any MYSQL error log? find /var/lib/mysql/ | grep [.]err : not a single one.
Repair every single table of every DB on this machine? mysqlcheck -A --auto-repair : Done. Waited 2 minutes, still exactly the same, 27% CPU load.
After systemctl restart mysqld : Same thing.
/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid
Average loads are often reaching 1.0 which was quite unusual for me to see on the previous server hosting exactly the same databases on the same hardware. Something is going on, what has this process been doing for 2 days in a row now? Is this normal that it's constantly eating 27% of the CPU non stop? (i'll answer my own question: no it's not, now what can I do about this?)
SHOW FULL PROCESSLIST; shows NOTHING going on, if I refresh this command every second, sometimes I see a SELECT from one of the sites on the machine, but basically it's sleeping 99% of the time. No query hanging, no optimization or index creation going on, at least not more than a fraction of a second from time to time, like normal.
swapon --summary : 0KB used out of 4GB
Contents of /var/log/mysql-slow.log ? Empty.
Any MYSQL error log? find /var/lib/mysql/ | grep [.]err : not a single one.
Repair every single table of every DB on this machine? mysqlcheck -A --auto-repair : Done. Waited 2 minutes, still exactly the same, 27% CPU load.
After systemctl restart mysqld : Same thing.
Attachments
-
172.1 KB Views: 101
Last edited: