【发布时间】:2016-02-20 11:09:01
【问题描述】:
/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error= /var/lib/mysql/server188.server.com.err --open-files-limit=50000 --pid-file=/var/lib/mysql/server188.server.com.pid
这个进程占用了大量的 CPU,30-35%,它是做什么的,我如何保持低使用率?服务器处于空闲状态,没有运行任何脚本/sql。
这些是设置
default-storage-engine=MyISAM
innodb_file_per_table=1
max_allowed_packet=107374182
open_files_limit=50000
innodb_buffer_pool_size=128GB
max_connections=500
key_buffer_size=64G
query_cache_size = 128MB
query_cache_limit = 128MB
服务器:
256GB 内存 四核 12x 处理器
【问题讨论】:
-
那是 MySQL 服务器。它仅响应客户的查询而运行。如果没有任何程序发送查询,它不应该占用 CPU。进入
mysql并使用SHOW PROCESSLIST查看它收到的查询。