文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>How to resolve "Neighbour table overflow" problem?

How to resolve "Neighbour table overflow" problem?

时间:2006-09-21  来源:CUDev

最近实验室的网络总是出现问题:

Sep 21 06:37:48 localhost kernel: printk: 161 messages suppressed.
Sep 21 06:37:48 localhost kernel: Neighbour table overflow.
Sep 21 06:37:53 localhost kernel: printk: 187 messages suppressed.
Sep 21 06:37:53 localhost kernel: Neighbour table overflow.
Sep 21 06:37:58 localhost kernel: printk: 188 messages suppressed.
Sep 21 06:37:58 localhost kernel: Neighbour table overflow.
Sep 21 06:38:03 localhost kernel: printk: 64 messages suppressed.
Sep 21 06:38:03 localhost kernel: Neighbour table overflow.
Sep 21 06:38:09 localhost kernel: printk: 32 messages suppressed.
Sep 21 06:38:09 localhost kernel: Neighbour table overflow.
Sep 21 06:38:14 localhost kernel: printk: 32 messages suppressed.
Sep 21 06:38:14 localhost kernel: Neighbour table overflow.

没有想到自己也碰到了这个问题.
解决方案:

echo 20480> /proc/sys/net/ipv4/neigh/default/gc_thresh1
echo 40960> /proc/sys/net/ipv4/neigh/default/gc_thresh2
echo 81920 > /proc/sys/net/ipv4/neigh/default/gc_thresh3

如果ok,就修改/etc/sysctl.conf

net.ipv4.neigh.default.gc_thresh3 = 81920
net.ipv4.neigh.default.gc_thresh2 = 40960
net.ipv4.neigh.default.gc_thresh1 = 20480

注意:我改的数值有点大.

原本 gc_thresh1=128,gc_thresh2=258,gc_thresh3=512
the max size of the neighbor table is 100000
相关阅读 更多 +
排行榜 更多 +
极简城市

极简城市

音乐节奏 下载
可可星动营

可可星动营

休闲益智 下载
疯狂投掷达人

疯狂投掷达人

休闲益智 下载