原文网址:https://www.youyong.top/article/1158e50d79c9
云服务器 ECS Linux 服务器 message 日志报错:kernel: TCP: time wait bucket table overflowt
原文网址:https://www.youyong.top/article/1158e50d79c9
云服务器 ECS Linux 服务器 message 日志报错:kernel: TCP: time wait bucket table overflowt
原文网址:https://www.youyong.top/article/1158e50d79c9
云服务器 ECS ping 外部 IP 丢包,ping 出现错误:
ping: sendmsg: Operation not permitted
同时,查询服务器 /var/log/message 日志,发现大量类似如下错误信息:
Aug 4 17:25:37 static1 kernel: TCP: time wait bucket table overflow
Aug 4 17:25:37 static1 kernel: TCP: time wait bucket table overflow
系统 TCP TIME WAIT溢出。
1. 通过如下指令可以统计当前的 TCP 连接数:
netstat -anp |grep tcp |wc -l
2. 对比 /etc/sysctl.conf 配置文件中参数 net.ipv4.tcp_max_tw_buckets 值,看是否有超出情况。
3. 如果确认已经超出,则可以编辑 /etc/sysctl.conf 配置文件,根据系统规格,适当调大 net.ipv4.tcp_max_tw_buckets 参数值
说明:
共 0 条留言