From owner-freebsd-stable Mon Aug 5 8:27:47 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E273C37B400; Mon, 5 Aug 2002 08:27:43 -0700 (PDT) Received: from hercules.icarz.com (ns1.icarz.com [207.99.22.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC09143E4A; Mon, 5 Aug 2002 08:27:42 -0700 (PDT) (envelope-from kenm@icarz.com) Received: from newken (dhcp104.icarz.com [207.99.22.104]) by hercules.icarz.com (8.11.6/8.10.1) with SMTP id g75F2WT29616; Mon, 5 Aug 2002 11:02:32 -0400 (EDT) Message-ID: <031f01c23c91$20897900$681663cf@icarz.com> From: "Ken Menzel" To: "Ruslan Ermilov" , "John Capo" Cc: References: <20020803235545.GA64825@exuma.irbs.com> <20020805074544.GD28071@sunbay.com> Subject: Re: Cloned Routes Date: Mon, 5 Aug 2002 11:02:32 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi John and Ruslan, I agree it is not unique to FreeBSD (I had the same problem on BSDi). But John, did you try 'sysctl net.route.netclone=0' ? I cannot help more than this as I am still running gated on BSDi. Ken ----- Original Message ----- From: "Ruslan Ermilov" To: "John Capo" Cc: Sent: Monday, August 05, 2002 3:45 AM Subject: Re: Cloned Routes On Sat, Aug 03, 2002 at 07:55:45PM -0400, John Capo wrote: > Sometime late 4.4-stable and early 4.5-stable, cloned routes started > appearing on the routing socket. I discovered this after updating > several machines to 4.5-stable and gated started announcing cloned > /32 routes over OSPF. A Cisco 3620 melts at around 60K /32 routes. :-( > > Removing `proto kernel' from the gated config stops gated from > announcing the cloned routes but gated stays busy and grows in size > as cloned routes come and go, memory leak in gated probably. I > re-started gated 5 days ago when it had grown to 100MB+. > > 75901 root 2 0 31000K 27820K select 1 83:18 1.17% 1.17% gated > > Gated running for 30 days on a 4.4 machine: > > 445 root 2 0 2248K 1112K select 1 9:42 0.00% 0.00% gated > > > The question is wether or not cloned routes appearing on the routing > socket was intentional or a by product of some other change? > Yes, it was intentional. The first hunk of revision 1.67 changes to src/sys/net/route.c is responsible for this. This code is now shared between BSD/OS, NetBSD, OpenBSD, and FreeBSD (in chronological order), so if there is the problem with GateD, it is not specific to FreeBSD. Cheers, -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message