您现在的位置是:首页 > 文章详情

ping 返回 no buffer space available 解决方法

日期:2015-04-12点击:1411

1. 云主机当前常规并发比较大,  约有 1900 个常规连接

[root@chao-data07 ~]# netstat -nt | grep EST | wc -l 1867


2. 当前出现 arp 表不正常现象


见到下面错误信息

Mar 24 14:06:31 chao-data07 dhclient[1112]: DHCPREQUEST on eth0 to 10.199.212.200 port 67 (xid=0xd488179) Mar 24 14:06:31 chao-data07 dhclient[1112]: send_packet: No buffer space available Mar 24 14:06:31 chao-data07 kernel: Neighbour table overflow. Mar 24 14:06:40 chao-data07 dhclient[1112]: DHCPREQUEST on eth0 to 10.199.212.200 port 67 (xid=0xd488179) Mar 24 14:06:40 chao-data07 dhclient[1112]: DHCPACK from 10.199.212.200 (xid=0xd488179) Mar 24 14:06:41 chao-data07 dhclient[1112]: bound to 10.199.196.108 -- renewal in 34441 seconds. Mar 24 14:07:13 chao-data07 kernel: Neighbour table overflow. Mar 24 14:07:13 chao-data07 kernel: Neighbour table overflow. Mar 24 14:07:14 chao-data07 kernel: Neighbour table overflow. Mar 24 14:07:14 chao-data07 kernel: Neighbour table overflow. Mar 24 14:07:16 chao-data07 kernel: Neighbour table overflow. Mar 24 14:07:16 chao-data07 kernel: Neighbour table overflow. Mar 24 23:40:42 chao-data07 dhclient[1112]: DHCPREQUEST on eth0 to 10.199.212.200 port 67 (xid=0xd488179) Mar 24 23:40:42 chao-data07 dhclient[1112]: send_packet: No buffer space available Mar 25 10:18:08 chao-data07 kernel: __ratelimit: 24 callbacks suppressed Mar 25 10:18:08 chao-data07 kernel: Neighbour table overflow. Mar 25 10:18:08 chao-data07 kernel: Neighbour table overflow. 


ping 时候返回  no buffer space available 信息


解决方法:

echo 4096 > /proc/sys/net/ipv4/neigh/default/gc_thresh1 echo 8192 > /proc/sys/net/ipv4/neigh/default/gc_thresh2 echo 20480 > /proc/sys/net/ipv4/neigh/default/gc_thresh3


暂时解决问题.





原文链接:https://yq.aliyun.com/articles/70848
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章