iotop 结果中没有磁盘 io 运行
Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO< COMMAND
1 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % init [3]
1930 be/4 named 0.00 B/s 0.00 B/s 0.00 % 0.00 % named -u ~d/run-root
1931 be/4 named 0.00 B/s 0.00 B/s 0.00 % 0.00 % named -u ~d/run-root
1932 be/4 named 0.00 B/s 0.00 B/s 0.00 % 0.00 % named -u ~d/run-root
1933 be/4 named 0.00 B/s 0.00 B/s 0.00 % 0.00 % named -u ~d/run-root
1810 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % sh /usr/b~user=mysql
9795 be/4 apache 0.00 B/s 0.00 B/s 0.00 % 0.00 % httpd
8004 be/4 apache 0.00 B/s 0.00 B/s 0.00 % 0.00 % httpd
3226 be/4 postfix 0.00 B/s 0.00 B/s 0.00 % 0.00 % tlsmgr -l -t unix -u
8154 be/4 apache 0.00 B/s 0.00 B/s 0.00 % 0.00 % httpd
9759 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % find -name php.ini
9249 be/4 apache 0.00 B/s 0.00 B/s 0.00 % 0.00 % httpd
1756 be/4 postfix 0.00 B/s 0.00 B/s 0.00 % 0.00 % psa-pc-re~@localhost
1863 be/4 mysql 0.00 B/s 0.00 B/s 0.00 % 0.00 % mysqld --~mysql.sock
3123 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % crond
1758 be/4 postfix 0.00 B/s 0.00 B/s 0.00 % 0.00 % psa-pc-re~@localhost
1865 be/4 mysql 0.00 B/s 0.00 B/s 0.00 % 0.00 % mysqld --~mysql.sock
1592 be/4 sw-cp-se 0.00 B/s 0.00 B/s 0.00 % 0.00 % sw-cp-ser~ver/config
7612 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % sshd: root@pts/0
7614 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % sftp-server
7615 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % -bash
1602 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % sshd
8003 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % httpd
但是 iowait 很高?
iostat 报告
avg-cpu: %user %nice %system %iowait %steal %idle
0.83 0.00 0.13 13.83 0.00 85.20
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
服务器运行像蜗牛一样,这里可能存在什么问题?
谢谢
答案1
iowait 可以等待任何与 io 相关的操作。这包括网络、USB、PCI 和其他设备。尝试使用 iftop 查看您的网络正在做什么,并考虑从系统中删除设备。