From owner-freebsd-questions@FreeBSD.ORG Mon May 12 20:49:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3D7E1065672 for ; Mon, 12 May 2008 20:49:30 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id A4F668FC1C for ; Mon, 12 May 2008 20:49:30 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 893B91CDC8; Mon, 12 May 2008 12:49:29 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 12 May 2008 22:49:27 +0200 User-Agent: KMail/1.9.7 References: <20080412200816.A820110656B1@hub.freebsd.org> <48284371.02578c0a.17c4.1aed@mx.google.com> In-Reply-To: <48284371.02578c0a.17c4.1aed@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805122249.27906.fbsd.questions@rachie.is-a-geek.net> Cc: Aminuddin Abdullah Subject: Re: Panic String: kmem_malloc(4096): kmem_map too small: 335544320 total allocated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 20:49:30 -0000 On Monday 12 May 2008 15:16:48 Aminuddin Abdullah wrote: > I have 5 servers running almost at 70mbit/sec and each one of them will > crash/reboot after more than 24 hours. The most it can stay up is 48 hours. > > How do I increase this memory from the default 320MB? After some digging it looks like vm.kmem_size* are the loader tunables you're looking for. See loader(8) for a description. However, does it make sense to have this much kernel memory? What is it caused by? mbufs? If you dump netstat -m periodically from cron, is that where the memory is going? -- Mel Problem with today's modular software: they start with the modules and never get to the software part.