Kernel

Aus SchnallIchNet
Version vom 20. November 2012, 14:41 Uhr von Cbs (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Neighbour table overflow == fix neighbour table overflow if messages like this occure in logs: kernel: [12956407.538911] Neighbour table overflow. edit fil…“)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
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