Neighbour table overflow

阅读: 评论:0

Neighbour table overflow

Neighbour table overflow

kern.warning :Neighbour table overflow

这几天查看bug列表的时候,发现一个关于 Neighbour table overflow相关的bug。

从字面上看应该是内核 ARP 相关的 table cache 用光了,在这种情况下应该增加 ARP table cache 的大小。

那么该如何增加是一个问题,有问题先Google一下。

发现好多关于该问题的解决方法:

大致都是通过 sysctl 命令来修改内核参数来增加 table cache 的大小:

_thresh1
_thresh2
_thresh3These 3 parameters are defined in the Linux Kernel Code in the header file /include/net/neighbour.h as integer.
Gaia Portal accepts maximal value _thresh1
The minimum number of entries to keep in the ARP cache.
The garbage collector will not run if there are fewer than this number of entries in _thresh2
The soft maximum number of entries to keep in the ARP cache. 
The garbage collector will allow the number of entries to exceed this for 5 seconds before collection will _thresh3
The hard maximum number of entries to keep in the ARP cache. 
The garbage collector will always run if there are more than this number of entries in the cache.In order for the garbage collector to work properly, and not to overload the machine with garbage collections, when changing the gc_thresh3 parameter, user should (note: does not have to) change the gc_thresh2 and gc_thresh1 parameters accordingly.

关于这几个参数的解释在 kernel: neighbour table overflow 中有详细的解释。

而在Linux: Neighbour Table Overflow Error and Solution中,介绍的方法

Solving neighbour table overflow errors (large subnets)中介绍了在子网很多的时候如何设置这些参数。

综上关于这个问题主要是修改这几参数,通过不同的参数调节,可以达到用户的不同要求。

本文发布于:2024-02-04 11:45:15,感谢您对本站的认可!

本文链接:https://www.4u4v.net/it/170706424955268.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:Neighbour   table   overflow
留言与评论(共有 0 条评论)
   
验证码:

Copyright ©2019-2022 Comsenz Inc.Powered by ©

网站地图1 网站地图2 网站地图3 网站地图4 网站地图5 网站地图6 网站地图7 网站地图8 网站地图9 网站地图10 网站地图11 网站地图12 网站地图13 网站地图14 网站地图15 网站地图16 网站地图17 网站地图18 网站地图19 网站地图20 网站地图21 网站地图22/a> 网站地图23