Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 2004 09:41:18 +0300 (EEST)
From:      Pekka Savola <pekkas@netcore.fi>
To:        snap-users@kame.net
Cc:        freebsd-net@freebsd.org
Subject:    Re: (KAME-snap 8822) Re: Weird memory exhaustion with FreeBSD  4.10-STABLE
Message-ID:  <Pine.LNX.4.44.0410010940130.1502-100000@netcore.fi>
In-Reply-To: <y7vhdpfo59v.wl@ocean.jinmei.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Oct 2004, JINMEI Tatuya / [ISO-2022-JP] 神明達哉 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0410010940130.1502-100000>