Neighbour table overflow

最近Linux主機一直出現Neighbour table overflow的訊息,找到解決的方法:
echo 1024 > /proc/sys/net/ipv4/neigh/default/gc_thresh1
echo 2048 > /proc/sys/net/ipv4/neigh/default/gc_thresh2
echo 4096 > /proc/sys/net/ipv4/neigh/default/gc_thresh3
原本 gc_thresh1=128,gc_thresh2=258,gc_thresh3=512
再接著修改 /etc/sysctl.conf檔案,新增或修改以下內容:
net.ipv4.neigh.default.gc_thresh3 = 4096
net.ipv4.neigh.default.gc_thresh2 = 2048
net.ipv4.neigh.default.gc_thresh1 = 1024

2 Responses to “Neighbour table overflow”

  1. David 說道:

    看來以後若要管機房時, 有Linux的問題問Andy就對了… ^^

  2. Andy 說道:

    過獎了!我也是從網路上找答案的!Blog可以讓我紀錄下來,以後遇到同樣的問題,很快的就可以解決。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>