Bug#646063: net: fix route cache rebuilds
Hi Eric,
hi Ben,
this is an update regarding this case:
Eric Dumazet <eric.dumazet@gmail.com> wrote Fri, Oct 21, 2011 7:44 AM
> Le vendredi 21 octobre 2011 à 01:07 +0100, Ben Hutchings a écrit :
>
> > Eric, do you see any problems with this? Would we need any more
> > follow-up fixes?
>
> Hi Ben
>
> This patch is probably safe, it should avoid the emergency rebuild
> trigger.even with few entries in cache, because of one long chain
> [different TOS values being mapped to the same slot ]
>
> But I believe another bug was fixed in 6a2bad70d546cf30
> (ipv4: Restart rt_intern_hash after emergency rebuild )
>
> If Florian route cache use is light/normal, this second commit is
> probably not needed.
Unfortunately the system still suffered from two network disconnects starting with the following messages in the kernel log:
Nov 7 06:38:41 spozerl kernel: [ 9025.854230] Route hash chain too long!
Nov 7 06:38:41 spozerl kernel: [ 9025.854237] Adjust your secret_interval!
Nov 7 07:10:53 spozerl kernel: [10953.398869] eth0: 5 rebuilds is over limit, route caching disabled
Nov 7 07:10:53 spozerl kernel: [10953.398876] Route hash chain too long!
Nov 7 07:10:53 spozerl kernel: [10953.398878] Adjust your secret_interval!
Nov 7 07:12:59 spozerl kernel: [11080.006209] dst cache overflow
Nov 7 07:12:59 spozerl kernel: [11080.012829] dst cache overflow
Nov 7 07:12:59 spozerl kernel: [11080.019653] dst cache overflow
Nov 7 07:12:59 spozerl kernel: [11080.019704] dst cache overflow
Nov 7 07:12:59 spozerl kernel: [11080.022230] dst cache overflow
Nov 7 07:12:59 spozerl kernel: [11080.023285] dst cache overflow
Nov 7 07:12:59 spozerl kernel: [11080.023680] dst cache overflow
Nov 7 07:12:59 spozerl kernel: [11080.023731] dst cache overflow
Nov 7 07:12:59 spozerl kernel: [11080.024538] dst cache overflow
Nov 7 07:12:59 spozerl kernel: [11080.026248] dst cache overflow
Nov 7 07:13:04 spozerl kernel: [11085.007358] __ratelimit: 595 callbacks suppressed
Nov 7 07:13:04 spozerl kernel: [11085.007362] dst cache overflow
Nov 7 07:13:04 spozerl kernel: [11085.009144] dst cache overflow
[...]
-Florian
Reply to: