From owner-freebsd-hackers@FreeBSD.ORG Mon May 3 16:11:36 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C9D316A4CE for ; Mon, 3 May 2004 16:11:36 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id D792843D39 for ; Mon, 3 May 2004 16:11:35 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (37c136929cd066ba7ed0156f9875ba5e@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i43NBOYS012908; Mon, 3 May 2004 18:11:34 -0500 (CDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2E74B528DF; Mon, 3 May 2004 16:11:23 -0700 (PDT) Date: Mon, 3 May 2004 16:11:23 -0700 From: Kris Kennaway To: John Uhlig Message-ID: <20040503231123.GA50427@xor.obsecurity.org> References: <409024D6.7090800@parc.com> <20040429000158.GA61693@xor.obsecurity.org> <4096630F.9080500@parc.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <4096630F.9080500@parc.com> User-Agent: Mutt/1.4.2.1i cc: sunsa@parc.com cc: hackers@freebsd.org cc: Stefan Bethke cc: Kris Kennaway Subject: Re: kmem_malloc crashes running FreeBSD 5.2.1-RELEASE-p5 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 23:11:36 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 03, 2004 at 08:19:43AM -0700, John Uhlig wrote: >=20 > Well, Don Bowman was very helpful in suggesting some kernel parameters.= =20 > Unfortunately, they > did not work for us. If we had the time to experiment with more=20 > settings, perhaps we would have > been able to find the right combination. Since we do not have that time= =20 > due to our schedule I was > forced to "fix" the problem by setting "hw.physmem=3D2G" in=20 > /boot/loader.conf (thanks again to Don). > It ran for over 8 hours while I ran multiple scripts copying data from=20 > multiple systems to it and > while continuously running the /etc/periodic/security scripts on it. All= =20 > previous tests crashed the > server (usually within 20 minutes). >=20 > I am hoping that this issue will be resolved by the developers in the=20 > future as we would like to be > able to use the full complement of available memory (4GB). I'm pretty sure it's just a matter of the right tuning. All I needed to do was to add this on my heavily loaded 4GB machine: options VM_KMEM_SIZE_MAX=3D419430400 #400MB Kris --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAltGaWry0BWjoQKURAp95AKC1x8XFMqNQ4bnczhJz5zmbmvpA2wCg2OX/ YJR0556OisNcZNB5QcAwQyg= =05SC -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--