Kernel

Aus SchnallIchNet
Wechseln zu: Navigation, Suche

Neighbour table overflow

fix neighbour table overflow if messages like this occure in logs:

kernel: [12956407.538911] Neighbour table overflow.

edit file: /etc/sysctl.conf and add or modify:

net.(ipv4|ipv6).neigh.default.gc_thresh1
net.(ipv4|ipv6).neigh.default.gc_thresh2
net.(ipv4|ipv6).neigh.default.gc_thresh3

default for v4 & v6 are:

gc_thresh1 = 128
gc_thresh2 = 512
gc_thresh3 = 1024

keep you RAM in mind. the higher the threshes the higher the needed RAM.
so set anything like that:

gc_thresh1 = 128/256/512/1024
gc_thresh2 = 2 * gc_thresh1
gc_thresh3 = 2 * gc_thresh2