hostdb

mysql 消耗CPU 异常高

我的未来我决定 提交于 2020-05-08 13:58:16
1.这里看到的是 主机cpu 90% 都给消耗掉了,主要是mysql 进程消耗资源 top - 14:46:26 up 266 days, 20:41, 4 users, load average: 17.14, 15.68, 10.69 Tasks: 264 total, 1 running, 263 sleeping, 0 stopped, 0 zombie Cpu(s): 69.5%us, 21.2%sy, 0.0%ni, 9.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 16333448k total, 9920660k used, 6412788k free, 488896k buffers Swap: 2097148k total, 24448k used, 2072700k free, 3965104k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9386 mysql 20 0 14.6g 4.5g 9164 S 723.8 28.9 416:42.07 /db/mysql/app/mysql/bin/mysqld --defaults-file=/db/mysql/app/mysql/my.cnf --basedi 11846 root 20 0