(KAME-snap 8822) Re: Weird memory exhaustion with FreeBSD
4.10-STABLE
Pekka Savola
pekkas at netcore.fi
Thu Sep 30 23:41:25 PDT 2004
On Fri, 1 Oct 2004, JINMEI Tatuya / [ISO-2022-JP] $B?@L at C#:H(B wrote:
> > Btw, is there any particular reason why net.inet.ip.rtexpire
> > automatically dynamically re-adjusts itself (here, it's typically
> > around 10 or 12), while net.inet6.ip6.rtexpire does not?
>
> Hmm, good point. I was also wondering why such a massive number of
> route entries remained despite the periodical cleanup mechanism. Then
> I found another bug, which set the cleanup interval to a huge value
> (almost infinite in a practical sense).
>
> The patch below, including the previous fix, should also solve the
> problem (I must confess I even did not compile it, so please be
> careful). Perhaps you can then live with the original rtexpire value.
Thanks.
Yes, now both rtexpire values are dynamically automatically adjusting
appropriately.
Whether this fixes the root cause of the problem or not is another
issue, but I guess it works around it for now. We'll see in a week or
two, I guess..
--
Pekka Savola "You each name yourselves king, yet the
Netcore Oy kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
More information about the freebsd-net
mailing list