在 CentOS 里看到 “dropped” 通常出现在 网络丢包(RX/TX dropped) 或 系统日志里有 dropped 相关提示。下面按最常见场景给你快速排查 + 修复方法。
ip -s link
或
ifconfig
看是否有:
RX droppedTX dropped原因:
# 查看中断
cat /proc/interrupts | grep eth
# 开启多队列(如果支持)
ethtool -L eth0 combined 8
# 增大接收缓存
ethtool -G eth0 rx 4096 tx 4096
现象:
DROPiptables -L -n -v
或
journalctl -u firewalld
firewall-cmd --add-port=80/tcp --permanent
firewall-cmd --reload
典型报错:
nf_conntrack: table full, dropping packet
sysctl -w net.netfilter.nf_conntrack_max=655360
永久:
echo "net.netfilter.nf_conntrack_max=655360" >> /etc/sysctl.conf
sysctl -p
top
free -h
如果是 CPU 软中断高:
mpstat -P ALL 1
可尝试:
irqbalancesystemctl start irqbalance
请补充说明:
ip -s link 输出我可以直接给你 一条命令修复方案。