Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2004 16:11:23 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        John Uhlig <juhlig@parc.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: kmem_malloc crashes running FreeBSD 5.2.1-RELEASE-p5
Message-ID:  <20040503231123.GA50427@xor.obsecurity.org>
In-Reply-To: <4096630F.9080500@parc.com>
References:  <409024D6.7090800@parc.com> <20040429000158.GA61693@xor.obsecurity.org> <B6D33856-9BBE-11D8-9E08-000A95C893E4@lassitu.de> <4096630F.9080500@parc.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040503231123.GA50427>