From owner-freebsd-net@FreeBSD.ORG Fri Oct 1 06:41:24 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8DF616A4CF for ; Fri, 1 Oct 2004 06:41:24 +0000 (GMT) Received: from netcore.fi (netcore.fi [193.94.160.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC46B43D2F for ; Fri, 1 Oct 2004 06:41:23 +0000 (GMT) (envelope-from pekkas@netcore.fi) Received: from localhost (pekkas@localhost) by netcore.fi (8.11.6/8.11.6) with ESMTP id i916fII01525; Fri, 1 Oct 2004 09:41:18 +0300 Date: Fri, 1 Oct 2004 09:41:18 +0300 (EEST) From: Pekka Savola To: snap-users@kame.net In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 cc: freebsd-net@freebsd.org Subject: Re: (KAME-snap 8822) Re: Weird memory exhaustion with FreeBSD 4.10-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 06:41:25 -0000 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