Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2002 01:54:12 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Makoto Matsushita <matusita@jp.FreeBSD.org>
Cc:        jroberson@chesapeake.net, current@FreeBSD.ORG
Subject:   Re: Kernel panic with panic: kmem_malloc(4096): kmem_map toosmall...
Message-ID:  <3DAD2934.D0EA6C41@mindspring.com>
References:  <20021015111520K.matusita@jp.FreeBSD.org> <20021015232745.B89360-100000@mail.chesapeake.net> <20021016171835E.matusita@jp.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Makoto Matsushita wrote:
> jroberson> I suspect that there is some other bug then.  1/2 of your
> jroberson> memory should not be consumed by kernel malloc.  Do you
> jroberson> have an abnormally large MD or something?
> 
> MD devices are used to create installation floppies but no, it should
> be 1.44MB/2.88MB size, relatively small one.

The worst case failure with my "Ugly patch" should be that things hang,
and quit running completey.

If you could save a "vmstat -m" periodically, approaching the problem
this may help us identify where the memory is going, e.g. the output
from running this script:

#!/bin/sh
INTERVAL=20
while true
do
	for i in 0 1 2 3 4 5 6 7 8 9
	do
		vmstat -m > vmstatlog.$i
		sync
		sleep ${INTERVAL}
	done
done

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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