Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2004 17:01:58 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        John Uhlig <juhlig@parc.com>
Cc:        hackers@freebsd.org
Subject:   Re: kmem_malloc crashes running FreeBSD 5.2.1-RELEASE-p5
Message-ID:  <20040429000158.GA61693@xor.obsecurity.org>
In-Reply-To: <409024D6.7090800@parc.com>
References:  <409024D6.7090800@parc.com>

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

--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 28, 2004 at 02:40:38PM -0700, John Uhlig wrote:
> Hi.
>=20
> We are running FreeBSD 5.2.1-RELEASE-p5 with a fairly generic kernel on a
> Dell PowerEdge 2650 with 1/2TB of disk RAID arrays. It recently crashed at
> about 3AM while running the daily /etc/periodic/security/100.chksetuid=20
> script.
>=20
> I am able to crash this system at will (takes about 5-10 minutes by=20
> running the
> security scripts in a loop and using gtar to copy files to the server at=
=20
> the same
> time. I have included output from one core dump below. The other core dum=
ps
> I have so far are almost exactly the same e.g. "Error accessing memory=20
> address
> 0xf8b7983c" is the same in all core dumps so far.
>=20
> On the web, freebsd mailing lists and bug lists, I have seen existing=20
> thread about
> "kmem_malloc and kmem_map too small" problems - but no evidence of a fix
> or patch. We experienced the same problem running 4.9 but were able to=20
> fix it
> by setting the MAXMEM option in our kernel conf file to a value 1GB less=
=20
> than
> actual physical memory size. This does not help with 5.2.1-RELEASE-p5.
>=20
> My group is under pressure to bring 3 of these servers on-line for our us=
er
> community by the end of the month and would greatly appreciate any help
> in resolving this problem.

See PR 53416.  You just need to tune your kernel resource allocation
to deal with the large amount of memory your system has.

Kris

--oyUTqETQ0mS9luUI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAkEX2Wry0BWjoQKURAoRYAJ47tYUJTpJXREpY5t8TZphwK7MgvACfVKOM
+iH0o1aIlPsTFMkshfW3Z2k=
=+b00
-----END PGP SIGNATURE-----

--oyUTqETQ0mS9luUI--



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