From owner-freebsd-net Fri Aug 3 9:58:33 2001 Delivered-To: freebsd-net@freebsd.org Received: from avengers.ivision.co.uk (avengers.ivision.co.uk [212.25.225.7]) by hub.freebsd.org (Postfix) with ESMTP id D1FC937B405; Fri, 3 Aug 2001 09:58:27 -0700 (PDT) (envelope-from jasper@ivision.co.uk) Received: from [212.25.225.7] (helo=avengers) by avengers.ivision.co.uk with esmtp (Exim 2.04 #1) id 15SiHK-00049h-00; Fri, 3 Aug 2001 17:58:26 +0100 Date: Fri, 3 Aug 2001 17:58:26 +0100 (BST) From: Jasper Wallace X-Sender: To: Andre Oppermann Cc: , Subject: Re: 303,000 routes in kernel In-Reply-To: <3B69CE3F.1BCCB280@telehouse.ch> Message-ID: X-NCC-RegID: uk.instant-web MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 3 Aug 2001, Andre Oppermann wrote: > Hello guys > > have got a small problem. I'm running a secondary DNS server for the > ccTLD .ch here in Switzerland. > # vmstat -m > Memory statistics by type Type Kern > Type InUse MemUse HighUse Limit Requests Limit Limit Size(s) > ... > routetbl607857 85480K 85480K 85480K 2420956 0 0 > 16,32,64,128,256 > ... > Memory Totals: In Use Free Requests > 91073K 2948K 786316696 If you want to wack up the amount of ram used for the routing table you can adjust the amount of ram the kernel uses for it's stuff with something like this in your kernel config file: # 1/2 RAM for the kernel - lets us have full routes. options VM_KMEM_SIZE_SCALE="(2)" If anyone knows a better way to persuade the kernel to use more space for the routing table i'd love to know. -- Internet Vision Internet Consultancy Tel: 020 7589 4500 60 Albert Court & Web development Fax: 020 7589 4522 Prince Consort Road vision@ivision.co.uk London SW7 2BE http://www.ivision.co.uk/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message