From owner-freebsd-net Thu Aug 5 14: 5:28 1999 Delivered-To: freebsd-net@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id AC12114D9E for ; Thu, 5 Aug 1999 14:05:25 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id OAA05706; Thu, 5 Aug 1999 14:02:36 -0700 (PDT) Message-Id: <199908052102.OAA05706@implode.root.com> To: jayanth Cc: freebsd-net@FreeBSD.ORG Subject: Re: memory leak in the routing table ? In-reply-to: Your message of "Thu, 05 Aug 1999 11:04:56 PDT." <37A9D248.A118340E@yahoo-inc.com> From: David Greenman Reply-To: dg@root.com Date: Thu, 05 Aug 1999 14:02:36 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Were there any issues related to a memory leak in the routing table ? >I am running freebsd-stable. >After a few days vmstat -m shows the memory used by routing table to be >very high and log messages "arpresolve: cant allocate llinfo for >a.b.c.d" >"arplookup a.b.c.d failed could not allocate llinfo" , keep repeating >for >every ip address that requires an arp entry to be created. This is caused by a screwup in your network configuration, probably the netmask, such that the kernel hears the ARP broadcast from a peer, but doesn't know how to respond since it doesn't think that the requestor's IP address is reachable. >I turned on "route -v monitor" and started getting the following >messages >"RTM_MISS: Lookup failed on this address" for most addresses. See above. >"netstat -arn" revealed routes that had a refcnt 0 zero but were not >being freed. However, I think the UP flag was on for each of the routes. No, zero refcnt routes are just clone routes that haven't aged out of the route cache yet. This does not indicate a route leak. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message