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

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

comments powered by Disqus