From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 06:41:39 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C2C316A4CF for ; Wed, 9 Mar 2005 06:41:39 +0000 (GMT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 110EE43D48 for ; Wed, 9 Mar 2005 06:41:39 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id j296fb96028986; Tue, 8 Mar 2005 22:41:37 -0800 (PST) Received: from [192.168.1.6] (pool-68-161-53-96.ny325.east.verizon.net [68.161.53.96]) (authenticated bits=0)j296faep008763; Tue, 8 Mar 2005 22:41:37 -0800 (PST) In-Reply-To: <792ae751050308200278d85cce@mail.gmail.com> References: <792ae751050308200278d85cce@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Charles Swiger Date: Wed, 9 Mar 2005 01:41:35 -0500 To: =?ISO-8859-1?Q?Andreas_Lindstr=F6m?= X-Mailer: Apple Mail (2.619.2) cc: freebsd-questions@FreeBSD.org Subject: Re: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 06:41:39 -0000 On Mar 8, 2005, at 11:02 PM, Andreas Lindstr=F6m wrote: > It seems i have the same kmem_malloc problem as some others has had in > their SMP computers that is running FreeBSD 5.3, however, it is also > different... my problem doesnt occur after an extended period of > running the server, it occurs randomly at bootup. Another difference > is that it is not a 2GB memory machine, it runs at 128MB. Could you be more specific about the problem you have? > Now, since the previous fixes all said to increase the VM_KMEM > settings im guessing this wont work for me since i have 128MB physical > memory and 256MB swap (actually, ive tested it as well, doesnt work). [ ... ] say "this module is using one hell of > alot of memory so remove it and decrease the VM_KMEM and it should > work"... seriously, why does the kernel use 320MB+ of memory? > Something to do with the SMP code? Which module? I am almost certain that your kernel is not trying to use 320+ MB of=20 RAM on a machine with 128 MB of physical memory available, so it is=20 likely that you are misunderstanding something. When you run top, the=20= size of the kernel is best reflected by the "wired" category. Speaking of which, what does top or "vmstat -s" say? > And, if i have to get more memory... how much more should i get? Would > 256MB be enough, or does FreeBSD 5.3 only run on 2GB+ machines now? What tasks are you running on the machine? FreeBSD will quite happily=20= work as a mail server, router, firewall, stuff like that in 128MB, but=20= if you are running X11 and a bunch of graphical apps, more RAM would=20 certainly help. [ If you avoid running a dozen or so virus scanner/antispam perl=20 thingies like SpamAssassin or amavisd with 30MB RSS each, you can run a=20= lightweight mail server fine in 32MB, although FreeBSD 4.x or NetBSD=20 would be better suited for a low-memory environment than FreeBSD 5.x=20 is... ] --=20 -Chuck